diff options
Diffstat (limited to 'lib/Service/StatusService.php')
-rw-r--r-- | lib/Service/StatusService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/StatusService.php b/lib/Service/StatusService.php index d33d99bad..a15f30c76 100644 --- a/lib/Service/StatusService.php +++ b/lib/Service/StatusService.php @@ -45,11 +45,11 @@ class StatusService //Is NC cron enabled? $cronMode = $this->settings->getAppValue('core', 'backgroundjobs_mode'); //Expect nextcloud cron - $cronOff = !$this->settings->getAppValue( + $cronOff = !boolval($this->settings->getAppValue( Application::NAME, 'useCronUpdates', Application::DEFAULT_SETTINGS['useCronUpdates'] - ); + )); // check for cron modes which may lead to problems return $cronMode === 'cron' || $cronOff; |