diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-21 11:10:41 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-21 11:10:41 +0000 |
| commit | 2c983e84f1d05ff6ddf720eba246b7361ad829c2 (patch) | |
| tree | 4770e8c154f4bfd7b095ebccddd4ce6c52411069 | |
| parent | 8760271247efabba2f785d060c4ca77624115a8c (diff) | |
add missing course_id parameter, fixes #5160
Closes #5160
Merge request studip/studip!3864
| -rw-r--r-- | lib/modules/CoreParticipants.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/modules/CoreParticipants.php b/lib/modules/CoreParticipants.php index 5470495..1d15272 100644 --- a/lib/modules/CoreParticipants.php +++ b/lib/modules/CoreParticipants.php @@ -19,9 +19,6 @@ class CoreParticipants extends CorePlugin implements StudipModule if ($user_id === 'nobody') { return null; } - if (CourseConfig::get()->LTI_SHARING_ENABLED) { - return null; - } $auto_insert_perm = Config::get()->AUTO_INSERT_SEM_PARTICIPANTS_VIEW_PERM; // show the participants-icon only if the course is not an auto-insert-sem @@ -117,9 +114,6 @@ class CoreParticipants extends CorePlugin implements StudipModule if ($GLOBALS['user']->id === 'nobody') { return []; } - if (CourseConfig::get()->LTI_SHARING_ENABLED) { - return []; - } $navigation = new Navigation(_('Teilnehmende')); $navigation->setImage(Icon::create('persons', Icon::ROLE_INFO_ALT)); @@ -206,6 +200,6 @@ class CoreParticipants extends CorePlugin implements StudipModule public function isActivatableForContext(Range $context) { - return $context->getRangeType() === 'course' && !CourseConfig::get()->LTI_SHARING_ENABLED; + return $context->getRangeType() === 'course'; } } |
