Commit a7fec1ef by Julien Muchembled

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

The fixes a missing rename in
commit cee3e728.
1 parent 3bff2b6e
......@@ -1479,7 +1479,7 @@ class ActivityTool (BaseTool):
if not(isinstance(message_uid_list, list)):
message_uid_list = [message_uid_list]
if message_uid_list:
activity_dict[activity].unreserveMessageList(self.getSQLConnection(),
activity_dict[activity].assignMessageList(self.getSQLConnection(),
0, message_uid_list)
if REQUEST is not None:
return REQUEST.RESPONSE.redirect('%s/%s' % (
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!