From e54df026f1f1bd97e0f1a40b11d22395967ae952 Mon Sep 17 00:00:00 2001 From: Alex Hartwig Date: Wed, 22 Oct 2025 16:49:50 +0200 Subject: [PATCH 1/2] setCmd Cleanup Part 2 --- .../ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php b/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php index e5b2ed1ae64e..1468bb7d0cf9 100755 --- a/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php +++ b/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php @@ -860,8 +860,6 @@ public function export(): mixed { $GLOBALS['DIC']->tabs()->setTabActive('export'); $exp_gui = new ilExportGUI($this); - // @todo: removed deprecated ilCtrl methods, this needs inspection by a maintainer. - // $this->ctrl->setCmd("listExportFiles"); $exp_gui->addFormat("xml"); return $this->ctrl->forwardCommand($exp_gui); } From c64fa064d6e76dd4c6edbbe89d37518436b0b969 Mon Sep 17 00:00:00 2001 From: Alex Hartwig Date: Thu, 22 Jan 2026 17:39:48 +0100 Subject: [PATCH 2/2] setCmd Cleanup Comment --- .../ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php b/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php index 1468bb7d0cf9..cdc15c702e14 100755 --- a/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php +++ b/components/ILIAS/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php @@ -860,6 +860,7 @@ public function export(): mixed { $GLOBALS['DIC']->tabs()->setTabActive('export'); $exp_gui = new ilExportGUI($this); + // Here used to be $this->ctrl->setCmd("listExportFiles") in <10 $exp_gui->addFormat("xml"); return $this->ctrl->forwardCommand($exp_gui); }