summaryrefslogtreecommitdiff
path: root/modules/notification/helpers/notification_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/helpers/notification_event.php')
-rw-r--r--modules/notification/helpers/notification_event.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php
index 1568b854..3fccdfbe 100644
--- a/modules/notification/helpers/notification_event.php
+++ b/modules/notification/helpers/notification_event.php
@@ -23,11 +23,7 @@ class notification_event_Core {
}
static function item_created($item) {
- $batch_id = Session::instance()->get("batch_id");
- if (!batch::in_progress("add") {
- notification::send_item_add($item);
- } else {
- }
+ notification::send_item_add($item);
}
static function item_before_delete($item) {