diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-08-07 10:13:09 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-08-07 10:13:09 +0200 |
| commit | b1bc66f361a4dda92aba22fdd42843f619797a6c (patch) | |
| tree | ecf6a08bddd1230edf7b49fc756073b4071ba169 /app | |
| parent | ca3ade956dd9c9041c07cef048136fa91f5faca2 (diff) | |
implement performance optimizations for my courses, fixes #4693
Closes #4693
Merge request studip/studip!3724
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/public_courses.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/public_courses.php b/app/controllers/public_courses.php index 3ab5125..aa5d22d 100644 --- a/app/controllers/public_courses.php +++ b/app/controllers/public_courses.php @@ -85,10 +85,6 @@ class PublicCoursesController extends AuthenticatedController continue; } - if (!Config::get()->VOTE_ENABLE && $plugin_id === 'vote') { - continue; - } - if ($plugin === 'vote') { $seminar['navigations'][$plugin] = false; } else if ($tool = $seminar['tools']->findOneBy('plugin_id', $plugin_id)) { |
