From a81dcb7d78078a0d3b3a3ee896afb5cc167cd5da Mon Sep 17 00:00:00 2001 From: mjansen Date: Mon, 6 Jan 2025 10:23:59 +0100 Subject: [PATCH] Badges: Remove obsolete `else` branches --- .../ILIAS/Badge/classes/class.ilBadgeImageTemplateTableGUI.php | 3 +-- components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php | 3 +-- components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/components/ILIAS/Badge/classes/class.ilBadgeImageTemplateTableGUI.php b/components/ILIAS/Badge/classes/class.ilBadgeImageTemplateTableGUI.php index 38f79bb15fe6..5c2c0f48757b 100755 --- a/components/ILIAS/Badge/classes/class.ilBadgeImageTemplateTableGUI.php +++ b/components/ILIAS/Badge/classes/class.ilBadgeImageTemplateTableGUI.php @@ -203,10 +203,9 @@ private function getActions( $row_id_token ) ]; - } else { - return []; } + return []; } public function renderTable(): void diff --git a/components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php b/components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php index d2fab3095955..6b35abe70111 100755 --- a/components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php +++ b/components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php @@ -299,10 +299,9 @@ private function getActions( $row_id_token ) ]; - } else { - return []; } + return []; } public function renderTable(): void diff --git a/components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php b/components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php index 5c6dab84f14e..fba29612aa41 100755 --- a/components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php +++ b/components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php @@ -184,10 +184,9 @@ private function getActions( $row_id_token ) ]; - } else { - return []; } + return []; } public function renderTable(): void