From 8b7b9024c43b2fb77fce367baf8d92233635e77b Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Wed, 28 Feb 2018 13:09:37 +0100 Subject: [PATCH] IcingaConfig: Remove library import from generated config `library "methods"` was when Director set the actual execution method for commands. --- library/Director/IcingaConfig/IcingaConfig.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/library/Director/IcingaConfig/IcingaConfig.php b/library/Director/IcingaConfig/IcingaConfig.php index 06d7fcff..c792bcdb 100644 --- a/library/Director/IcingaConfig/IcingaConfig.php +++ b/library/Director/IcingaConfig/IcingaConfig.php @@ -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();