mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
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()
|
||||
{
|
||||
return false;
|
||||
return $this->db()->getSetting('disable_all_jobs') === 'y';
|
||||
}
|
||||
|
||||
protected function runScheduledImports()
|
||||
|
Loading…
x
Reference in New Issue
Block a user