aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/my_courses.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php
index c0dbeb3..996ad87 100644
--- a/app/controllers/my_courses.php
+++ b/app/controllers/my_courses.php
@@ -793,9 +793,7 @@ class MyCoursesController extends AuthenticatedController
'allow_dozent_visibility' => Config::get()->ALLOW_DOZENT_VISIBILITY,
'open_groups' => array_values($GLOBALS['user']->cfg->MY_COURSES_OPEN_GROUPS),
'sem_number' => Config::get()->IMPORTANT_SEMNUMBER,
- 'display_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY ? 'tiles' : 'tables',
- 'responsive_type' => $GLOBALS['user']->cfg->MY_COURSES_TILED_DISPLAY_RESPONSIVE ? 'tiles' : 'tables',
- 'navigation_show_only_new' => $GLOBALS['user']->cfg->MY_COURSES_SHOW_NEW_ICONS_ONLY,
+ 'view_settings' => $GLOBALS['user']->cfg->MY_COURSES_VIEW_SETTINGS,
'group_by' => $this->getGroupField(),
],
];