diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-04 08:55:41 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-04 08:55:41 +0000 |
commit | bc13659d37c2f99efd86f96b1511af965db5411c (patch) | |
tree | 3987667d55c84ca9ea9a6f372160cd0a5b0511f4 /core/helpers/batch.php | |
parent | 23b0abb9742d3418484fe8d01609f6849d7960ce (diff) |
Remove cruft from API
Diffstat (limited to 'core/helpers/batch.php')
-rw-r--r-- | core/helpers/batch.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |