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