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