app/soc/logic/models/notification.py
changeset 1106 e14b0995cf29
parent 997 d4ba019f1f8b
child 1307 091a21cf3627
--- a/app/soc/logic/models/notification.py	Sat Jan 31 12:36:07 2009 +0000
+++ b/app/soc/logic/models/notification.py	Sat Jan 31 12:59:52 2009 +0000
@@ -58,8 +58,7 @@
       # there is only one unread notification so send out an email
       notifications.sendNewNotificationMessage(entity)
 
-    # flush the sidebar cache
-    sidebar.flush(entity.scope.account)
+    super(Logic, self)._onCreate(entity)
 
   def _updateField(self, entity, name, value):
     """If unread changes we flush the sidebar cache.