diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-13 13:39:53 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-13 13:41:04 +0100 |
| commit | cd2c802e786835669b3f09491e5d202c38b50683 (patch) | |
| tree | 7aaefae91bdc26af00bffc9299f4c8b71c61815e /lib | |
| parent | bfb8999bb70e12dbc900b18d094f0d0472dbc05a (diff) | |
restore free courses navigiation in 6.1 and below, re #6248
Merge request studip/studip!4733
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/navigation/CourseNavigation.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/navigation/CourseNavigation.php b/lib/navigation/CourseNavigation.php index 7db8019..947fc67 100644 --- a/lib/navigation/CourseNavigation.php +++ b/lib/navigation/CourseNavigation.php @@ -41,9 +41,7 @@ class CourseNavigation extends Navigation parent::__construct($coursetext, $courselink); - if (User::findCurrent()) { - $this->setImage(Icon::create('seminar', Icon::ROLE_NAVIGATION, ['title' => $courseinfo])); - } + $this->setImage(Icon::create('seminar', Icon::ROLE_NAVIGATION, ['title' => $courseinfo])); } /** |
