mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
IcingaConfig: Remove library import from generated config
`library "methods"` was when Director set the actual execution method for commands.
This commit is contained in:
parent
15729cb28a
commit
8b7b9024c4
@ -476,13 +476,6 @@ class IcingaConfig
|
||||
->createFileFromDb('dependency')
|
||||
;
|
||||
|
||||
if (! $this->isLegacy()) {
|
||||
$this->configFile(sprintf(
|
||||
'zones.d/%s/commands',
|
||||
$this->connection->getDefaultGlobalZoneName()
|
||||
))->prepend("library \"methods\"\n\n");
|
||||
}
|
||||
|
||||
PrefetchCache::forget();
|
||||
IcingaHost::clearAllPrefetchCaches();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user