diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2017-12-07 05:31:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-07 05:31:07 +0300 |
commit | bc029c1ffaeb2952cb1875db1c036a2cd3d0d376 (patch) | |
tree | 4dd71253fb614e2180bdba2a8741c08b2ced06e6 | |
parent | b743af045f73d390d96a58e29089f993b1cded33 (diff) |
remove unneeded comparrison
-rw-r--r-- | core/CronArchive.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/CronArchive.php b/core/CronArchive.php index abd498f9d8..64b2b535e1 100644 --- a/core/CronArchive.php +++ b/core/CronArchive.php @@ -289,7 +289,7 @@ class CronArchive */ public function main() { - if ($this->isMaintenanceModeEnabled() == 1) { + if ($this->isMaintenanceModeEnabled()) { $this->logger->info("Archiving won't run because maintenance mode is enabled"); return; } @@ -367,7 +367,7 @@ class CronArchive do { - if ($this->isMaintenanceModeEnabled() == 1) { + if ($this->isMaintenanceModeEnabled()) { $this->logger->info("Archiving will stop now because maintenance mode is enabled"); return; } |