Commit a97ac935 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: No need to add Catalog Tool via the earlier manage_addProduct as...

erp5_catalog: No need to add Catalog Tool via the earlier manage_addProduct as it is an ERP5 object now
parent 30ab5dc4
......@@ -2140,11 +2140,6 @@ class ERP5Generator(PortalGenerator):
addERP5Tool(p, 'portal_caches', 'Cache Tool')
addERP5Tool(p, 'portal_memcached', 'Memcached Tool')
# Add ERP5 SQL Catalog Tool
# addTool = p.manage_addProduct['ERP5Catalog'].manage_addTool
# if not p.hasObject('portal_catalog'):
# addTool('ERP5 Catalog', None)
# Add Default SQL connection
if p.erp5_sql_connection_type == 'Z MySQL Database Connection':
if not p.hasObject('erp5_sql_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