Commit cab79300 authored by iv's avatar iv

ERP5Workflow: remove _invokeWithNotification

It should not be useful with the new WorkflowTool.
parent 48ea10b2
......@@ -213,9 +213,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
raise WorkflowException(_(u'Requested workflow definition not found.'))
if workflow.getPortalType() == 'Workflow':
action_id = workflow.getTransitionIdByReference(action_reference)
result = self._invokeWithNotification(
workflow_list, current_object, action_id, workflow.doActionFor,
(current_object, action_id) + args, kw)
result = workflow.doActionFor(current_object, action_id)
return result
security.declareProtected(Permissions.AccessContentsInformation,
......
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