From 91a62ffbeea380258d5914fe77b90c8ed5103b9e Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Tue, 27 Nov 2018 11:00:14 +0100 Subject: [PATCH] phpcs: Fix ObjectsController --- .../Web/Controller/ObjectsController.php | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index 059b371d..b056e58c 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -240,23 +240,23 @@ abstract class ObjectsController extends ActionController $this->translate('All your %s Apply Rules'), $tType ); - $this->actions()/*->add( - $this->getBackToDashboardLink() - )*/->add( - Link::create( - $this->translate('Add'), - "director/$type/add", - ['type' => 'apply'], - [ - 'title' => sprintf( - $this->translate('Create a new %s Apply Rule'), - $tType - ), - 'class' => 'icon-plus', - 'data-base-target' => '_next' - ] - ) - ); + $this->actions() + //->add($this->getBackToDashboardLink()) + ->add( + Link::create( + $this->translate('Add'), + "director/$type/add", + ['type' => 'apply'], + [ + 'title' => sprintf( + $this->translate('Create a new %s Apply Rule'), + $tType + ), + 'class' => 'icon-plus', + 'data-base-target' => '_next' + ] + ) + ); $table = new ApplyRulesTable($this->db()); $table->setType($this->getType());