Commit fbf66047 authored by Jérome Perrin's avatar 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
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):
......
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