From 1c6384f8235642834422b0846cdda3b0a60a57cc Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 3 Mar 2009 06:18:18 +0000 Subject: Removed the === false and === true checks --- modules/notification/helpers/notification_event.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (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 3fccdfbe..1568b854 100644 --- a/modules/notification/helpers/notification_event.php +++ b/modules/notification/helpers/notification_event.php @@ -23,7 +23,11 @@ class notification_event_Core { } static function item_created($item) { - notification::send_item_add($item); + $batch_id = Session::instance()->get("batch_id"); + if (!batch::in_progress("add") { + notification::send_item_add($item); + } else { + } } static function item_before_delete($item) { -- cgit v1.2.3