Do not load a module twice while enabling it
This commit is contained in:
parent
f3fa743022
commit
4324385010
|
@ -163,7 +163,6 @@ class ConfigController extends ActionController
|
|||
$manager = Icinga::app()->getModuleManager();
|
||||
try {
|
||||
$manager->enableModule($module);
|
||||
$manager->loadModule($module);
|
||||
Notification::success(sprintf($this->translate('Module "%s" enabled'), $module));
|
||||
$this->rerenderLayout()->reloadCss()->redirectNow('config/modules');
|
||||
} catch (Exception $e) {
|
||||
|
|
Loading…
Reference in New Issue