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

Remove unused reset method.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8e4b36ed
......@@ -85,21 +85,6 @@ class AppliedRule(XMLObject):
rule = self.getSpecialiseValue()
return rule.test(my_parent)
# Simulation workflow
def reset(self):
"""
DO WE NEED IT ?
-> this does either a diverge or a reset depending
on the position in the tree
if it is in root position, it is a solve
if it is in non root position, it is a diverse
"""
rule = self.getSpecialiseValue()
if rule is not None:
rule.reset(self)
security.declareProtected(Permissions.AccessContentsInformation,
'isAccountable')
def isAccountable(self, movement):
......
......@@ -173,18 +173,6 @@ class TransformationSourcingRule(Rule):
result = 0
return result
# Simulation workflow
def reset(self, applied_rule):
"""
DO WE NEED IT ?
-> this does either a diverge or a reset depending
on the position in the tree
if it is in root position, it is a solve
if it is in non root position, it is a diverse
"""
security.declareProtected(Permissions.ModifyPortalContent, 'expand')
def expand(self, applied_rule, activate_kw=None,**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