Commit bb005aea authored by Jérome Perrin's avatar Jérome Perrin

Base: remove getWorkflowInfo

It currently not used and it's better not to have such public method
parent da91255c
......@@ -2881,14 +2881,6 @@ class Base(
result += [(wf.getId(), wf._getWorkflowStateOf(self, id_only=1))]
return result
security.declarePublic('getWorkflowInfo')
def getWorkflowInfo(self, name='state', wf_id=None):
"""
Returns a list of tuples {id:workflow_id, state:workflow_state}
"""
portal_workflow = self.portal_workflow
return portal_workflow.getInfoFor(self, name, wf_id=wf_id)
# Hide Acquisition to prevent loops (ex. in cells)
# Another approach is to use XMLObject everywhere
# DIRTY TRICK XXX
......
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