From 3396272d3163bc75a83e11e319b9f9757b3ff4c1 Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Tue, 5 Nov 2024 14:11:12 +0100 Subject: [PATCH] Session: replace setCmd with redirect (42544) --- .../ILIAS/Session/classes/class.ilObjSessionGUI.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ILIAS/Session/classes/class.ilObjSessionGUI.php b/components/ILIAS/Session/classes/class.ilObjSessionGUI.php index 504578e4743e..2f6b6aa72473 100755 --- a/components/ILIAS/Session/classes/class.ilObjSessionGUI.php +++ b/components/ILIAS/Session/classes/class.ilObjSessionGUI.php @@ -493,10 +493,10 @@ public static function _goto(string $a_target): void */ public function infoScreenObject(): void { - // @todo: removed deprecated ilCtrl methods, this needs inspection by a maintainer. - // $this->ctrl->setCmd("showSummary"); - // $this->ctrl->setCmdClass("ilinfoscreengui"); - $this->infoScreen(); + $this->ctrl->redirectByClass( + [self::class, ilInfoScreenGUI::class], + 'showSummary' + ); } public function modifyItemGUI(ilObjectListGUI $a_item_list_gui, array $a_item_data, bool $a_show_path): void