Stop doing ZClass initializations, they're no longer supported

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29490 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1391651e
...@@ -984,11 +984,6 @@ def initializeProduct( context, ...@@ -984,11 +984,6 @@ def initializeProduct( context,
# Aggregate # Aggregate
content_constructors = list(content_constructors) + list(extra_content_constructors) content_constructors = list(content_constructors) + list(extra_content_constructors)
# Begin the initialization steps
bases = tuple(content_classes)
tools = portal_tools
z_bases = utils.initializeBasesPhase1( bases, this_module )
z_tool_bases = utils.initializeBasesPhase1( tools, this_module )
# Try to make some standard directories available # Try to make some standard directories available
try: try:
...@@ -1000,10 +995,8 @@ def initializeProduct( context, ...@@ -1000,10 +995,8 @@ def initializeProduct( context,
except: except:
LOG("ERP5Type", BLATHER, "No help directory for %s" % product_name) LOG("ERP5Type", BLATHER, "No help directory for %s" % product_name)
# Finish the initialization # Tools initialization
utils.initializeBasesPhase2( z_bases, context ) tools = portal_tools
utils.initializeBasesPhase2( z_tool_bases, context )
if len(tools) > 0: if len(tools) > 0:
try: try:
utils.ToolInit('%s Tool' % product_name, utils.ToolInit('%s Tool' % product_name,
......
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