Commit d330aa28 authored by Sebastien Robin's avatar Sebastien Robin

this implemenations sounds really not good, do not use srings any more

git-svn-id: https://svn.erp5.org/repos/experimental@1949 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 82eb5bc3
......@@ -68,7 +68,7 @@ class ShortMessageDocument(Event):
"""Get quantity of sms sended"""
#XXX-Fx : See with JPS for a new event implementation
#XXX-Fx : DestinationReference property must be replace by a category
return len(self.getDestinationReference().split(','))
return len(self.getDestinationList())
security.declareProtected(Permissions.UseMailhostServices,
'isDelivered')
......@@ -136,4 +136,4 @@ class ShortMessageDocument(Event):
if message_id_list is not None:
self.setDestinationReference(",".join(message_id_list))
return message_id_list
\ No newline at end of file
return message_id_list
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