ServicesController: remove obsolete code

This commit is contained in:
Thomas Gelf 2017-06-21 22:57:32 +02:00
parent 25f8d075ed
commit 61b1e4b581
1 changed files with 0 additions and 16 deletions

View File

@ -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();
}
}