Commit 4813cc84 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

patches/WorkflowTool.py: remove ImmutableId patche.

parent 2e86feea
...@@ -65,18 +65,6 @@ class ExclusionTuple(tuple): ...@@ -65,18 +65,6 @@ class ExclusionTuple(tuple):
""" """
pass pass
def ImmutableId_setId(self, id):
""" patch which allows modifying the Id of portal_workflow
for the sake of workflow tool migration.
"""
if self.getId() in ['portal_workflow', 'portal_workflow_new']:
pass
else:
if id != self.getId():
raise ValueError('Changing the id of this object is forbidden: %s'
% self.getId())
ImmutableId._setId = ImmutableId_setId
def getValidCriterionDict(worklist_match_dict, sql_catalog, def getValidCriterionDict(worklist_match_dict, sql_catalog,
workflow_worklist_key): workflow_worklist_key):
valid_criterion_dict = {} valid_criterion_dict = {}
......
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