From bc13659d37c2f99efd86f96b1511af965db5411c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 4 Mar 2009 08:55:41 +0000 Subject: Remove cruft from API --- core/helpers/batch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/batch.php b/core/helpers/batch.php index 23c9e196..25bcd91f 100644 --- a/core/helpers/batch.php +++ b/core/helpers/batch.php @@ -23,7 +23,7 @@ class batch_Core { $session->set("batch_level", $session->get("batch_level", 0) + 1); } - static function stop($name) { + static function stop() { $session = Session::instance(); $batch_level = $session->get("batch_level", 0) - 1; if ($batch_level > 0) { @@ -34,7 +34,7 @@ class batch_Core { } } - static function in_progress($name) { + static function in_progress() { return Session::instance()->get("batch_level", 0) > 0; } } -- cgit v1.2.3