diff --git a/application/controllers/SettingsController.php b/application/controllers/SettingsController.php index c7cc4af6..02cfca00 100644 --- a/application/controllers/SettingsController.php +++ b/application/controllers/SettingsController.php @@ -9,26 +9,10 @@ use ipl\Html\Html; class SettingsController extends ActionController { - public function indexAction() - { - $this->view->tabs = $this->Module() - ->getConfigTabs() - ->activate('config'); - - $this->view->form = $this->loadForm('kickstart') - ->setModuleConfig($this->Config()) - ->handleRequest(); - } - public function selfServiceAction() { $form = SelfServiceSettingsForm::create($this->db(), new Settings($this->db())); - $form->handleRequest(); - if ($this->getRequest()->isApiRequest()) { - return; - } - $hint = $this->translate( 'The Icinga Director Self Service API allows your Hosts to register' . ' themselves. This allows them to get their Icinga Agent configured,'