Controller: Extend ipl\Web\Compat\CompatController

This commit is contained in:
Johannes Meyer 2023-07-26 16:56:39 +02:00
parent 8b2bac4e85
commit 96f94f9959

View file

@ -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();