Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
8090558b
Commit
8090558b
authored
Aug 14, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity: Drop no-op registerActivityBuffer API.
parent
a7257c64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
product/CMFActivity/Activity/Queue.py
product/CMFActivity/Activity/Queue.py
+0
-3
product/CMFActivity/ActivityBuffer.py
product/CMFActivity/ActivityBuffer.py
+0
-14
No files found.
product/CMFActivity/Activity/Queue.py
View file @
8090558b
...
...
@@ -235,9 +235,6 @@ class Queue(object):
raise
NotImplementedError
# Registration Management
def
registerActivityBuffer
(
self
,
activity_buffer
):
pass
def
isMessageRegistered
(
self
,
activity_buffer
,
activity_tool
,
m
):
# BBB: deprecated
message_list
=
activity_buffer
.
getMessageList
(
self
)
...
...
product/CMFActivity/ActivityBuffer.py
View file @
8090558b
...
...
@@ -60,20 +60,6 @@ class ActivityBuffer(TM):
transaction
.
get
().
addBeforeCommitHook
(
self
.
_prepare
,
self
.
_prepare_args
)
self
.
_prepare_args
=
None
# Keeps a list of messages to add and remove
# at end of transaction
def
_begin
(
self
):
# LOG('ActivityBuffer', 0, '_begin %r' % (self,))
from
ActivityTool
import
activity_dict
try
:
# Reset registration for each transaction.
for
activity
in
activity_dict
.
itervalues
():
activity
.
registerActivityBuffer
(
self
)
except
:
LOG
(
'ActivityBuffer'
,
ERROR
,
"exception during _begin"
,
error
=
sys
.
exc_info
())
raise
_abort
=
_finish
=
_clear
def
_prepare
(
self
,
queued
):
...
...
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