Commit bc3ec36a authored by Ayush Tiwari's avatar Ayush Tiwari

ERP5Site: Remove not available attribute erp5_sql_connection_type

parent 3ae8374b
...@@ -2261,10 +2261,6 @@ class ERP5Generator(PortalGenerator): ...@@ -2261,10 +2261,6 @@ class ERP5Generator(PortalGenerator):
def setupIndex(self, p, **kw): def setupIndex(self, p, **kw):
# Make sure all tools and folders have been indexed # Make sure all tools and folders have been indexed
if not kw.get('reindex', 1): if not kw.get('reindex', 1):
return
# When no SQL connection was define on the site,
# we don't want to make it crash
if p.erp5_sql_connection_type is not None:
setattr(p, 'isIndexingRequired', ConstantGetter('isIndexingRequired', value=True)) setattr(p, 'isIndexingRequired', ConstantGetter('isIndexingRequired', value=True))
# Clear portal ids sql table, like this we do not take # Clear portal ids sql table, like this we do not take
# ids for a previously created web site # ids for a previously created web site
......
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