From 0002c0be260c0299ab92e7368f82e17ce4e53b45 Mon Sep 17 00:00:00 2001 From: Marius Hein Date: Thu, 21 May 2015 14:40:52 +0200 Subject: [PATCH] Provide default config name for Module::getConfig() --- library/Icinga/Application/Modules/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Modules/Module.php b/library/Icinga/Application/Modules/Module.php index c1fd84513..e8481aab8 100644 --- a/library/Icinga/Application/Modules/Module.php +++ b/library/Icinga/Application/Modules/Module.php @@ -600,7 +600,7 @@ class Module * * @return Config */ - public function getConfig($file = null) + public function getConfig($file = 'config') { return $this->app->getConfig()->module($this->name, $file); }