mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
ServicesController: remove obsolete code
This commit is contained in:
parent
25f8d075ed
commit
61b1e4b581
@ -9,20 +9,4 @@ class ServicesController extends ObjectsController
|
||||
protected $multiEdit = array(
|
||||
'disabled'
|
||||
);
|
||||
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
$this->view->tabs->remove('objects');
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$r = $this->getRequest();
|
||||
if ($r->getActionName() !== 'templates' && ! $this->getRequest()->isApiRequest()) {
|
||||
$this->redirectNow('director/services/templates');
|
||||
}
|
||||
|
||||
return parent::indexAction();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user