kill dead code

This method is completely overriden by ERP5Creator

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30815 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 13bdc4f2
......@@ -1362,21 +1362,6 @@ class PortalGenerator:
reg.getPredicate( 'file' ).edit( major="application", minor="" )
reg.assignTypeName( 'file', 'File' )
def setupWorkflow(self, p):
wftool = getToolByName(p, 'portal_workflow', None)
if wftool is None:
return
try:
from Products.DCWorkflow.Default \
import createDefaultWorkflowClassic
except ImportError:
return
id = 'default_workflow'
wftool._setObject( id, createDefaultWorkflowClassic(id) )
# These objects don't participate in workflow by default.
wftool.setChainForPortalTypes( ('Folder', 'Topic'), () )
def setup(self, p, create_userfolder):
from Products.CMFTopic import Topic
self.setupTools(p)
......
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