From b48f7f348924d32a020960dd80890ed1ba2bc0e6 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 7 Apr 2021 16:00:01 +0200 Subject: [PATCH] role/audit: Don't use class `EmptyState`, it's from icingadb web --- application/controllers/RoleController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/RoleController.php b/application/controllers/RoleController.php index b1e5e54f5..4e55ed318 100644 --- a/application/controllers/RoleController.php +++ b/application/controllers/RoleController.php @@ -11,7 +11,6 @@ use Icinga\Authentication\RolesConfig; use Icinga\Data\Selectable; use Icinga\Exception\NotFoundError; use Icinga\Forms\Security\RoleForm; -use Icinga\Module\Icingadb\Widget\EmptyState; use Icinga\Repository\Repository; use Icinga\Security\SecurityException; use Icinga\User; @@ -186,7 +185,7 @@ class RoleController extends AuthBackendController $this->addControl($form); if (! $name) { - $this->addContent(new EmptyState(t('No user or group selected.'))); + $this->addContent(Html::wantHtml(t('No user or group selected.'))); return; }