From 9166bebd2ca60d689ed03f2e91e761aa0f72c3ad Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 6 Jul 2017 11:40:22 +0200 Subject: [PATCH] ServiceController: fix clone link, remove useless ...code --- application/controllers/ServiceController.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index f1ae787e..7d69d935 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -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) {