Skip to content

Commit

Permalink
Session: replace setCmd with redirect (42544)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Nov 5, 2024
1 parent f9eaa9a commit 3396272
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/ILIAS/Session/classes/class.ilObjSessionGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3396272

Please sign in to comment.