Commit af0baeb7 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not call portal_catalog.setupPropertiesForConfig.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d45ac24
...@@ -516,10 +516,7 @@ class ERP5Generator(PortalGenerator): ...@@ -516,10 +516,7 @@ class ERP5Generator(PortalGenerator):
pass pass
# Create default methods in Catalog XXX # Create default methods in Catalog XXX
portal_catalog = getToolByName(p, 'portal_catalog') portal_catalog = getToolByName(p, 'portal_catalog')
portal_catalog.addDefaultSQLMethods('erp5') portal_catalog.addDefaultSQLMethods('erp5_mysql')
# Setup ZSQLCatalog properties
portal_catalog.setupPropertiesForConfig('erp5')
# Clear Catalog # Clear Catalog
portal_catalog.manage_catalogClear() portal_catalog.manage_catalogClear()
......
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