diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 06:26:12 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-03 06:26:12 +0000 |
commit | b7a72825af7559f2fd39de0d4335049d3aa91e28 (patch) | |
tree | 9f16c5d65aec7ef19f414cf3a67d80a7a1469401 /core/helpers | |
parent | 1c6384f8235642834422b0846cdda3b0a60a57cc (diff) |
Remove the === false and === true checks
I really mean it this time
Diffstat (limited to 'core/helpers')
-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 4411b1b0..98523f30 100644 --- a/core/helpers/batch.php +++ b/core/helpers/batch.php @@ -20,14 +20,14 @@ class batch_Core { static function operation($name, $item) { - if (self::in_progress($name) === false) { + if (!self::in_progress($name)) { Session::instance()->set("operation_$name", "1"); module::event("operation", $name, $item); } } static function end_operation($name) { - if (self::in_progress($name) === true) { + if (self::in_progress($name)) { module::event("end_operation", $name); Session::instance()->set("operation_$name", null); } |