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…
Reference in New Issue