Commit 2dbeeb50 authored by Julien Muchembled's avatar Julien Muchembled

Fix 2 deprecated imports from Products.ERP5Type.Document.*

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44837 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f36a2373
......@@ -1322,8 +1322,8 @@ def optimize():
# We will probably disable reindexing for other types later
full_indexing_set = set(os.environ.get('enable_full_indexing', '').split(','))
if not 'portal_types' in full_indexing_set:
from Products.ERP5Type.Document.ActionInformation import ActionInformation
from Products.ERP5Type.Document.RoleInformation import RoleInformation
from Products.ERP5Type.Core.ActionInformation import ActionInformation
from Products.ERP5Type.Core.RoleInformation import RoleInformation
ActionInformation.isIndexable = RoleInformation.isIndexable = \
ConstantGetter('isIndexable', value=False)
if not 'portal_property_sheets' in full_indexing_set:
......
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