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):
# We are now certain we have a single applied rule
# It is time to expand it
self.activate(
after_method_path = my_applied_rule.getPath(),
after_method_id = ['reindexObject', 'immediateReindexObject',
'recursiveReindexObject', 'immediateRecursiveReindexObject']
after_path_and_method_id=(
my_applied_rule.getPath(),
['immediateReindexObject', 'recursiveImmediateReindexObject'])
).expand(my_applied_rule.getId())
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