Commit 6c843d8d authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py: remove unused codes.

parent 1a462b29
...@@ -365,10 +365,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject): ...@@ -365,10 +365,6 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
(worklist id as key) and which value is a dict composed of (worklist id as key) and which value is a dict composed of
variable matches. variable matches.
""" """
if not info.object.getPortalType() in ['Workflow', 'Interaction Workflow']:
# avoid getting DC workflow
return
if not self.objectValues(portal_type='Worklist'): if not self.objectValues(portal_type='Worklist'):
return None return None
......
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