From 498f37d4ff7683232e5c8ce44425ad062bb94d0a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 26 Apr 2019 14:37:06 +0200 Subject: [PATCH] Command: Function getMainConfig should not deliver module config Co-Authored-By: mxhash --- library/Icinga/Cli/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Cli/Command.php b/library/Icinga/Cli/Command.php index 007c2c013..486380b18 100644 --- a/library/Icinga/Cli/Command.php +++ b/library/Icinga/Cli/Command.php @@ -95,7 +95,7 @@ abstract class Command return $this->config; } else { if (! array_key_exists($file, $this->configs)) { - $this->configs[$file] = Config::module($this->moduleName, $file); + $this->configs[$file] = Config::app($file); } return $this->configs[$file]; }