From 0408a0096acbbeac7439878654ecbbf191e5ddb6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 3 Mar 2009 06:29:16 +0000 Subject: Undo r20234 --- modules/notification/helpers/notification_event.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/notification/helpers/notification_event.php') 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) { -- cgit v1.2.3