Commit c9113ee2 authored by wenjie.zheng's avatar wenjie.zheng

ERP5Site.py: remove action provider list check in workflow tool migration.

parent 7a6e65cc
...@@ -1669,9 +1669,6 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin): ...@@ -1669,9 +1669,6 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
self.portal_workflow.id = 'portal_workflow' self.portal_workflow.id = 'portal_workflow'
self._delObject('portal_workflow_new') self._delObject('portal_workflow_new')
# check action provider list
if 'portal_workflow' not in self.portal_actions.listActionProviders():
self.portal_actions.addActionProvider('portal_workflow')
Globals.InitializeClass(ERP5Site) Globals.InitializeClass(ERP5Site)
def getBootstrapDirectory(): def getBootstrapDirectory():
......
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