summaryrefslogtreecommitdiff
path: root/core/helpers/batch.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-04 08:55:41 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-04 08:55:41 +0000
commitbc13659d37c2f99efd86f96b1511af965db5411c (patch)
tree3987667d55c84ca9ea9a6f372160cd0a5b0511f4 /core/helpers/batch.php
parent23b0abb9742d3418484fe8d01609f6849d7960ce (diff)
Remove cruft from API
Diffstat (limited to 'core/helpers/batch.php')
-rw-r--r--core/helpers/batch.php4
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;
}
}