From 7459093108a8b51e3684d237dcafbd75a0ff3b75 Mon Sep 17 00:00:00 2001 From: Jephte Abijuru <57417057+jeph864@users.noreply.github.com> Date: Wed, 30 Aug 2023 10:06:37 +0200 Subject: [PATCH] dic()->tree() deprecated: remove references --- src/Staff/CourseAdministration/CourseAdministration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Staff/CourseAdministration/CourseAdministration.php b/src/Staff/CourseAdministration/CourseAdministration.php index 12a404e5..fc590246 100644 --- a/src/Staff/CourseAdministration/CourseAdministration.php +++ b/src/Staff/CourseAdministration/CourseAdministration.php @@ -106,7 +106,7 @@ function (/*ilMStListUser*/ $user) use ($filter): bool { if ($filter["org_units_subsequent"]) { foreach ($filter["org_units"] as $org_unit_ref_id) { - $org_units = array_merge($org_units, self::dic()->repositoryTree()->getSubTree(self::dic()->tree()->getNodeData($org_unit_ref_id), false)); + $org_units = array_merge($org_units, self::dic()->repositoryTree()->getSubTree(self::dic()->repositoryTree()->getNodeData($org_unit_ref_id), false)); } }