Commit 2e36352a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Make sure that _v_activity_buffer is present in deferredDeleteMessage.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d45efbb
...@@ -306,6 +306,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -306,6 +306,7 @@ class ActivityTool (Folder, UniqueObject):
self._v_activity_buffer.deferredQueueMessage(self, activity, message) self._v_activity_buffer.deferredQueueMessage(self, activity, message)
def deferredDeleteMessage(self, activity, message): def deferredDeleteMessage(self, activity, message):
if not hasattr(self, '_v_activity_buffer'): self._v_activity_buffer = ActivityBuffer()
self._v_activity_buffer.deferredDeleteMessage(self, activity, message) self._v_activity_buffer.deferredDeleteMessage(self, activity, message)
def getRegisteredMessageList(self, activity): def getRegisteredMessageList(self, activity):
......
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