diff options
Diffstat (limited to 'modules/notification/helpers')
-rw-r--r-- | modules/notification/helpers/notification_event.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php index 66aa52c8..3fccdfbe 100644 --- a/modules/notification/helpers/notification_event.php +++ b/modules/notification/helpers/notification_event.php @@ -23,12 +23,12 @@ class notification_event_Core { } static function item_created($item) { - notification::send_item_add($item); + notification::send_item_add($item); } static function item_before_delete($item) { notification::send_item_deleted($item); - + if (notification::is_watching($item)) { notification::remove_watch($item); } |