Commit 5b68d79e authored by Romain Courteaud's avatar Romain Courteaud

Remove implementation of reindexObject (which hwas done for performance).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3159 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a46751b
...@@ -349,14 +349,6 @@ a service in a public administration).""" ...@@ -349,14 +349,6 @@ a service in a public administration)."""
""" """
return self.getRootAppliedRule().hasActivity(**kw) return self.getRootAppliedRule().hasActivity(**kw)
security.declarePublic('reindexObject')
def reindexObject(self, **kw):
"""
We reindex the whole applied rule (only once)
"""
Movement.reindexObject(self, **kw)
self.getRootAppliedRule().reindexObject() # Reindex the whole applied rule
security.declareProtected(Permissions.AccessContentsInformation, 'getExplanation') security.declareProtected(Permissions.AccessContentsInformation, 'getExplanation')
def getExplanation(self): def getExplanation(self):
""" """
......
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