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 # flush the sidebar cache |
61 super(Logic, self)._onCreate(entity) |
62 sidebar.flush(entity.scope.account) |
|
63 |
62 |
64 def _updateField(self, entity, name, value): |
63 def _updateField(self, entity, name, value): |
65 """If unread changes we flush the sidebar cache. |
64 """If unread changes we flush the sidebar cache. |
66 """ |
65 """ |
67 |
66 |