JobsCommand: add support for global disable flag

This commit is contained in:
Thomas Gelf 2016-05-25 11:49:42 +02:00
parent f32d5a646b
commit 0199af7dcb
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class JobsCommand extends Command
protected function hasBeenDisabled() protected function hasBeenDisabled()
{ {
return false; return $this->db()->getSetting('disable_all_jobs') === 'y';
} }
protected function runScheduledImports() protected function runScheduledImports()