aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/tree.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2024-09-02 07:50:49 +0000
committerMoritz Strohm <strohm@data-quest.de>2024-09-02 07:50:49 +0000
commitf00164f6f8b823872d0934830a466aeb2af7114b (patch)
treee810d56f7ad1ec8f1e1dd17affd0954f5a54aaf0 /app/controllers/tree.php
parentafadde64a6a2017eabb36a3bdef412bb2d2692ba (diff)
StEP 3209, re #3209
Merge request studip/studip!2179
Diffstat (limited to 'app/controllers/tree.php')
-rw-r--r--app/controllers/tree.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/tree.php b/app/controllers/tree.php
index 655e717..e87f134 100644
--- a/app/controllers/tree.php
+++ b/app/controllers/tree.php
@@ -21,7 +21,6 @@ class TreeController extends AuthenticatedController
$data = [];
foreach ($courses as $course) {
- $sem = Seminar::getInstance($course->id);
$lecturers = SimpleCollection::createFromArray(
CourseMember::findByCourseAndStatus($course->id, 'dozent')
)->orderBy('position, nachname, vorname');
@@ -37,7 +36,7 @@ class TreeController extends AuthenticatedController
$course->veranstaltungsnummer,
$course->getFullName('type-number-name'),
$course->getTextualSemester(),
- $sem->getDatesExport(),
+ implode("\n", $course->getAllDatesInSemester()->toStringArray()),
implode(', ', $lecturersSorted)
];
}