diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-10-12 12:42:46 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-10-12 12:42:46 +0000 |
| commit | 66308dbc88525f06cb4fb7923b354bcd5e558e42 (patch) | |
| tree | 51770ace89bd33263a3acec3cb8353c4d2054b89 /app/controllers/admin/courses.php | |
| parent | e6f9dbc683c630b2647eb59fd4b65d411172d2ca (diff) | |
change default value of configuration MY_INSTITUTES_DEFAULT to all, fixes #1656
Closes #1656
Merge request studip/studip!1067
Diffstat (limited to 'app/controllers/admin/courses.php')
| -rw-r--r-- | app/controllers/admin/courses.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/admin/courses.php b/app/controllers/admin/courses.php index 711494a..e832628 100644 --- a/app/controllers/admin/courses.php +++ b/app/controllers/admin/courses.php @@ -291,10 +291,6 @@ class Admin_CoursesController extends AuthenticatedController PageLayout::postError(_('Sie wurden noch keiner Einrichtung zugeordnet')); } - if (!$GLOBALS['user']->cfg->MY_INSTITUTES_DEFAULT) { - $GLOBALS['user']->cfg->store('MY_INSTITUTES_DEFAULT', $this->insts[0]['Institut_id']); - } - // Semester selection if ($GLOBALS['user']->cfg->MY_COURSES_SELECTED_CYCLE) { $this->semester = Semester::find($GLOBALS['user']->cfg->MY_COURSES_SELECTED_CYCLE); |
