equal
deleted
inserted
replaced
56 |
56 |
57 if unread_count == 1: |
57 if unread_count == 1: |
58 # there is only one unread notification so send out an email |
58 # there is only one unread notification so send out an email |
59 notifications.sendNewNotificationMessage(entity) |
59 notifications.sendNewNotificationMessage(entity) |
60 |
60 |
|
61 sidebar.flush(entity.scope.account) |
61 super(Logic, self)._onCreate(entity) |
62 super(Logic, self)._onCreate(entity) |
62 |
63 |
63 def _updateField(self, entity, entity_properties, name): |
64 def _updateField(self, entity, entity_properties, name): |
64 """If unread changes we flush the sidebar cache. |
65 """If unread changes we flush the sidebar cache. |
65 """ |
66 """ |