diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index 29e75d27d..6b25a1ed4 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -180,7 +180,7 @@ class ConfigController extends Controller Icinga::app()->getModuleManager()->enableModule($module); Notification::success(sprintf($this->translate('Module "%s" enabled'), $module)); $form->onSuccess(); - $this->rerenderLayout()->reloadCss()->redirectNow('config/modules'); + $this->redirectHttp('config/modules'); }); try { @@ -206,7 +206,7 @@ class ConfigController extends Controller Icinga::app()->getModuleManager()->disableModule($module); Notification::success(sprintf($this->translate('Module "%s" disabled'), $module)); $form->onSuccess(); - $this->rerenderLayout()->reloadCss()->redirectNow('config/modules'); + $this->redirectHttp('config/modules'); }); try {