summaryrefslogtreecommitdiffstats
path: root/lib/Cron/UpdaterJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Cron/UpdaterJob.php')
-rw-r--r--lib/Cron/UpdaterJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Cron/UpdaterJob.php b/lib/Cron/UpdaterJob.php
index d5ecce593..4675d6de7 100644
--- a/lib/Cron/UpdaterJob.php
+++ b/lib/Cron/UpdaterJob.php
@@ -57,7 +57,7 @@ class UpdaterJob extends TimedJob
*/
protected function run($argument)
{
- $uses_cron = $this->config->getAppValue(
+ $uses_cron = (bool) $this->config->getAppValue(
Application::NAME,
'useCronUpdates',
Application::DEFAULT_SETTINGS['useCronUpdates']