ServiceController: fix clone link, remove useless

...code
This commit is contained in:
Thomas Gelf 2017-07-06 11:40:22 +02:00
parent 3564cb04f8
commit 9166bebd2c
1 changed files with 1 additions and 8 deletions

View File

@ -104,13 +104,6 @@ class ServiceController extends ObjectController
}
}
public function futureoverviewIndexAction()
{
$object = $this->loadObject();
$title = $this->view->title = $object->object_name;
$this->singleTab($this->translate('Icinga Service Template'));
}
public function editAction()
{
$this->tabs()->activate('modify');
@ -147,7 +140,7 @@ class ServiceController extends ObjectController
}
$form->handleRequest();
$this->view->actionLinks .= $this->createCloneLink();
$this->actions()->add($this->createCloneLink());
$this->view->title = $object->object_name;
if ($this->host) {