Do not load a module twice while enabling it

This commit is contained in:
Johannes Meyer 2015-03-06 13:22:51 +01:00
parent f3fa743022
commit 4324385010
1 changed files with 0 additions and 1 deletions

View File

@ -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) {