Commit ce03097a authored by Jérome Perrin's avatar Jérome Perrin

use after_path_and_method_id for activity


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3873 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6f1527f2
...@@ -503,9 +503,9 @@ class Delivery(XMLObject): ...@@ -503,9 +503,9 @@ class Delivery(XMLObject):
# We are now certain we have a single applied rule # We are now certain we have a single applied rule
# It is time to expand it # It is time to expand it
self.activate( self.activate(
after_method_path = my_applied_rule.getPath(), after_path_and_method_id=(
after_method_id = ['reindexObject', 'immediateReindexObject', my_applied_rule.getPath(),
'recursiveReindexObject', 'immediateRecursiveReindexObject'] ['immediateReindexObject', 'recursiveImmediateReindexObject'])
).expand(my_applied_rule.getId()) ).expand(my_applied_rule.getId())
security.declareProtected(Permissions.ModifyPortalContent, 'expand') security.declareProtected(Permissions.ModifyPortalContent, 'expand')
......
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