Commit 8f0cb8d6 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py: remove variable undo from workflow history.

parent 24e9e509
...@@ -602,7 +602,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject): ...@@ -602,7 +602,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
state_var = self.getStateVariable() state_var = self.getStateVariable()
status_dict = self.getCurrentStatusDict(document) status_dict = self.getCurrentStatusDict(document)
current_state_value = self._getWorkflowStateOf(document, id_only=0) current_state_value = self._getWorkflowStateOf(document, id_only=0)
status_dict['undo'] = 0
if current_state_value == None: if current_state_value == None:
current_state_value = self.getSourceValue() current_state_value = self.getSourceValue()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment