diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-12 18:16:13 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-12 18:16:13 +0000 |
commit | 2ad27663cbfcfabc52cb3ae3f899f0981c9b6468 (patch) | |
tree | 79030ce90609264af9227ea4175e1eda1106379f /core/helpers/core_event.php | |
parent | 85f2c6b6665360b60164330f88f89ad4d2a14f7f (diff) |
Remove event handlers that are are no longer called (start_batch and end_batch)
Diffstat (limited to 'core/helpers/core_event.php')
-rw-r--r-- | core/helpers/core_event.php | 12 |
1 files changed, 0 insertions, 12 deletions
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"); - } } |