From cd45a17c838f5fee2ac72b4a6cc0e6f043c35645 Mon Sep 17 00:00:00 2001 From: Matheus Zych Date: Fri, 25 Oct 2024 15:47:19 +0200 Subject: [PATCH] Minor rebasing adjustments --- .../classes/Tables/class.ilTestQuestionBrowserTableGUI.php | 2 -- components/ILIAS/Test/classes/class.ilObjTestGUI.php | 2 -- components/ILIAS/Test/src/Questions/QuestionsBrowserTable.php | 3 +-- lang/ilias_de.lang | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/components/ILIAS/Test/classes/Tables/class.ilTestQuestionBrowserTableGUI.php b/components/ILIAS/Test/classes/Tables/class.ilTestQuestionBrowserTableGUI.php index 1474ff350fb6..3eebf161c4ee 100755 --- a/components/ILIAS/Test/classes/Tables/class.ilTestQuestionBrowserTableGUI.php +++ b/components/ILIAS/Test/classes/Tables/class.ilTestQuestionBrowserTableGUI.php @@ -64,7 +64,6 @@ public function __construct( private readonly ilUIService $ui_service, private readonly DataFactory $data_factory, private readonly TaxonomyService $taxonomy, - private readonly \Closure $questionPoolLinkBuilder ) { } @@ -138,7 +137,6 @@ private function getQuestionsBrowserTable(string $parent_title = ''): QuestionsB $this->tree, $this->testrequest, $this->taxonomy, - $this->questionPoolLinkBuilder, $parent_title ); } diff --git a/components/ILIAS/Test/classes/class.ilObjTestGUI.php b/components/ILIAS/Test/classes/class.ilObjTestGUI.php index b5f69e2d2f3c..69b46b3e9972 100755 --- a/components/ILIAS/Test/classes/class.ilObjTestGUI.php +++ b/components/ILIAS/Test/classes/class.ilObjTestGUI.php @@ -659,7 +659,6 @@ public function executeCommand(): void $this->obj_data_cache, $test_process_locker_factory, $this->testrequest, - $this->title_builder, $this->questionrepository ); $this->ctrl->forwardCommand($gui); @@ -691,7 +690,6 @@ public function executeCommand(): void $this->ui_service, $this->data_factory, $this->taxonomy, - static fn() => '' ); $this->ctrl->forwardCommand($gui); break; diff --git a/components/ILIAS/Test/src/Questions/QuestionsBrowserTable.php b/components/ILIAS/Test/src/Questions/QuestionsBrowserTable.php index 2317e20aeb53..e229c2277977 100644 --- a/components/ILIAS/Test/src/Questions/QuestionsBrowserTable.php +++ b/components/ILIAS/Test/src/Questions/QuestionsBrowserTable.php @@ -26,6 +26,7 @@ use ILIAS\Data\Order; use ILIAS\Data\Range; use ILIAS\Test\RequestDataCollector; +use ILIAS\Test\Utilities\TitleColumnsBuilder; use ILIAS\UI\Component\Table\Action\Standard as TableAction; use ILIAS\UI\Component\Table\Column\Column; use ILIAS\UI\Component\Table\DataRetrieval; @@ -55,7 +56,6 @@ public function __construct( protected \ilTree $tree, protected RequestDataCollector $testrequest, protected TaxonomyService $taxonomy, - protected \Closure $getQuestionPoolLink, protected string $parent_title ) { } @@ -166,7 +166,6 @@ public function getRows( $record['type_tag'] = $this->lng->txt($record['type_tag']); $record['complete'] = (bool) $record['complete']; $record['lifecycle'] = \ilAssQuestionLifecycle::getInstance($record['lifecycle'])->getTranslation($this->lng) ?? ''; - $record['qpl'] = call_user_func($this->getQuestionPoolLink, $record['orig_obj_fi'] ?? null); $record['created'] = (new \DateTimeImmutable())->setTimestamp($record['created']); $record['tstamp'] = (new \DateTimeImmutable())->setTimestamp($record['tstamp']); diff --git a/lang/ilias_de.lang b/lang/ilias_de.lang index 394c7c5e63dc..b7b3148103ca 100644 --- a/lang/ilias_de.lang +++ b/lang/ilias_de.lang @@ -2043,7 +2043,6 @@ assessment#:#units#:#Einheiten assessment#:#unlimited#:#unbegrenzt assessment#:#unlock#:#Entsperren assessment#:#updated#:#Aktualisiert -assessment#:#updated#:#Aktualisiert assessment#:#uploaded_material#:#Hochgeladene Materialien assessment#:#use_previous_solution#:#Verwende vorherige Lösung assessment#:#use_previous_solution_advice#:#Die angezeigte Lösung wurde vormals von Ihnen abgegeben. Sie müssen die Übernahme dieser Lösung unterhalb der Frage bestätigen, falls Sie die Lösung ohne Änderungen übernehmen wollen.