diff options
-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; } } |