Commit 1715da76 authored by iv's avatar iv

ERP5Workflow: PERF: remove useless call to getStateChangeInformation

parent 3a6e9d3b
......@@ -809,7 +809,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
# update state
status_dict[state_var] = new_state
object = self.getStateChangeInformation(document, current_state_value, transition=self)
tool.setStatusOf(self.getReference(), document, status_dict)
self.updateRoleMappingsFor(document)
......
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