Commit 6a46751b authored by Romain Courteaud's avatar Romain Courteaud

Remove reindexObject old implementation (which was done for performance).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3158 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3acb5fdf
......@@ -266,16 +266,6 @@ An ERP5 Rule..."""
result.extend(m.getMovementIndex())
return result
security.declarePublic('reindexObject')
def reindexObject(self, **kw):
"""
Only reindex root applied rule
"""
if self.isRootAppliedRule():
XMLObject.reindexObject(self, **kw)
else:
self.getRootAppliedRule().reindexObject() # Reindex the whole applied rule
security.declareProtected(Permissions.View, 'hasActivity')
def hasActivity(self, **kw):
"""
......
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