From 4324385010e1d58dd6fc0182cc9e527f8e7f3138 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 6 Mar 2015 13:22:51 +0100 Subject: [PATCH] Do not load a module twice while enabling it --- application/controllers/ConfigController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index 5ad822e12..33e845f8c 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -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) {