Commit 09acd957 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Remove portal_catalog much earlier.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3394 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a22e4d38
......@@ -592,6 +592,11 @@ class ERP5Generator(PortalGenerator):
if not 'portal_actions' in p.objectIds():
PortalGenerator.setupTools(self, p)
# It is better to remove portal_catalog which is ZCatalog as soon as possible,
# because the API is not the completely same as ERP5Catalog, and ZCatalog is
# useless for ERP5 after all.
p._delObject('portal_catalog')
# Add CMF Report Tool
addTool = p.manage_addProduct['CMFReportTool'].manage_addTool
addTool('CMF Report Tool', None)
......@@ -617,7 +622,6 @@ class ERP5Generator(PortalGenerator):
# Add ERP5 SQL Catalog Tool
addTool = p.manage_addProduct['ERP5Catalog'].manage_addTool
p._delObject('portal_catalog')
addTool('ERP5 Catalog', None)
# Add Default SQL connection
if p.erp5_sql_connection_type == 'Z MySQL Database Connection':
......
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