From 96f94f995939ef4b3f20fe919ff0ed0e53446e43 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 26 Jul 2023 16:56:39 +0200 Subject: [PATCH] Controller: Extend `ipl\Web\Compat\CompatController` --- library/Businessprocess/Web/Controller.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/library/Businessprocess/Web/Controller.php b/library/Businessprocess/Web/Controller.php index e9719e4..4f618b2 100644 --- a/library/Businessprocess/Web/Controller.php +++ b/library/Businessprocess/Web/Controller.php @@ -12,12 +12,12 @@ use Icinga\Module\Businessprocess\Web\Component\Controls; use Icinga\Module\Businessprocess\Web\Component\Content; use Icinga\Module\Businessprocess\Web\Component\Tabs; use Icinga\Module\Businessprocess\Web\Form\FormLoader; -use Icinga\Web\Controller as ModuleController; use Icinga\Web\Notification; use Icinga\Web\View; use ipl\Html\Html; +use ipl\Web\Compat\CompatController; -class Controller extends ModuleController +class Controller extends CompatController { /** @var View */ public $view; @@ -173,14 +173,6 @@ class Controller extends ModuleController return $this; } - protected function setTitle($title) - { - $args = func_get_args(); - array_shift($args); - $this->view->title = vsprintf($title, $args); - return $this; - } - protected function addTitle($title) { $args = func_get_args();