Commit a7fec1ef authored by Julien Muchembled's avatar Julien Muchembled

fixup! CMFActivity: some optimization and clean-up in the code reserving messages

The fixes a missing rename in
commit cee3e728.
parent 3bff2b6e
...@@ -1479,7 +1479,7 @@ class ActivityTool (BaseTool): ...@@ -1479,7 +1479,7 @@ class ActivityTool (BaseTool):
if not(isinstance(message_uid_list, list)): if not(isinstance(message_uid_list, list)):
message_uid_list = [message_uid_list] message_uid_list = [message_uid_list]
if message_uid_list: if message_uid_list:
activity_dict[activity].unreserveMessageList(self.getSQLConnection(), activity_dict[activity].assignMessageList(self.getSQLConnection(),
0, message_uid_list) 0, message_uid_list)
if REQUEST is not None: if REQUEST is not None:
return REQUEST.RESPONSE.redirect('%s/%s' % ( return REQUEST.RESPONSE.redirect('%s/%s' % (
......
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