Commit b980fcb4 authored by Vincent Pelletier's avatar Vincent Pelletier

"recipient" variable is never used. Set the value to "candidate_list" instead.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20191 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f4d633e
......@@ -432,10 +432,8 @@ class Alarm(XMLObject, PeriodicityMixin):
"""
notification_tool = getToolByName(self, 'portal_notifications')
candidate_list = self.getDestinationValueList()
if candidate_list:
recipient = candidate_list
else:
recipient = None
if not candidate_list:
candidate_list = None
if self.sense():
prefix = 'ERROR'
else:
......
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