JobsCommand: add support for global disable flag
This commit is contained in:
parent
f32d5a646b
commit
0199af7dcb
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue