From 2ad27663cbfcfabc52cb3ae3f899f0981c9b6468 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 12 Mar 2009 18:16:13 +0000 Subject: Remove event handlers that are are no longer called (start_batch and end_batch) --- core/helpers/core_event.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/core_event.php b/core/helpers/core_event.php index 64cc9376..e430319d 100644 --- a/core/helpers/core_event.php +++ b/core/helpers/core_event.php @@ -34,16 +34,4 @@ class core_event_Core { static function item_before_delete($item) { access::delete_item($item); } - - static function start_batch() { - $batch_id = Session::instance()->get("batch_id"); - if (empty($batch_id)) { - $batch_id = mt_rand(); - Session::instance()->set("batch_id", $batch_id); - } - } - - static function end_batch() { - Session::instance()->delete("batch_id"); - } } -- cgit v1.2.3