mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
6e3e9b46a4
commit
ba5ea18adf
@ -400,7 +400,7 @@ class Loader
|
|||||||
$ns = 'Icinga\\Module\\' . ucfirst($module) . '\\Clicommands\\';
|
$ns = 'Icinga\\Module\\' . ucfirst($module) . '\\Clicommands\\';
|
||||||
$this->assertModuleExists($module);
|
$this->assertModuleExists($module);
|
||||||
$manager = $this->app->getModuleManager();
|
$manager = $this->app->getModuleManager();
|
||||||
$manager->enableModule($module);
|
$manager->loadModule($module);
|
||||||
$dir = $manager->getModuleDir($module) . '/application/clicommands';
|
$dir = $manager->getModuleDir($module) . '/application/clicommands';
|
||||||
$this->moduleCommands[$module] = $this->retrieveCommandsFromDir($dir);
|
$this->moduleCommands[$module] = $this->retrieveCommandsFromDir($dir);
|
||||||
$this->moduleInstances[$module] = array();
|
$this->moduleInstances[$module] = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user