Commit fbf66047 by Jérome Perrin

alarm.activeSense() already activate the active sense method, no need to

activate it.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13229 20353a03-c40f-0410-a6d1-a30d3c3de9de
1 parent 46ee54f8
......@@ -138,7 +138,7 @@ class AlarmTool(BaseTool):
if alarm.isActive() or not alarm.isEnabled():
# do nothing if already active, or not enabled
continue
alarm.activate().activeSense()
alarm.activeSense()
security.declareProtected(Permissions.ManageProperties, 'isSubscribed')
def isSubscribed(self):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!