Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
a7fec1ef
Commit
a7fec1ef
authored
Mar 13, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! CMFActivity: some optimization and clean-up in the code reserving messages
The fixes a missing rename in commit
cee3e728
.
parent
3bff2b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/CMFActivity/ActivityTool.py
product/CMFActivity/ActivityTool.py
+1
-1
No files found.
product/CMFActivity/ActivityTool.py
View file @
a7fec1ef
...
@@ -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
].
unreserve
MessageList
(
self
.
getSQLConnection
(),
activity_dict
[
activity
].
assign
MessageList
(
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'
%
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment