Commit ca7d2bd6 authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

ERP5Site: Remove not available attribute erp5_sql_connection_type

parent 5b7e9f99
......@@ -2196,8 +2196,8 @@ class ERP5Generator(PortalGenerator):
def setupIndex(self, p, **kw):
# Make sure all tools and folders have been indexed
if kw.get('reindex', 1):
setattr(p, 'isIndexable', ConstantGetter('isIndexable', value=True))
if not kw.get('reindex', 1):
setattr(p, 'isIndexingRequired', ConstantGetter('isIndexingRequired', value=True))
# Clear portal ids sql table, like this we do not take
# ids for a previously created web site
p.portal_ids.clearGenerator(all=True)
......
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