From 5aa449cf3e060d016486e81f52b32f4694681cd0 Mon Sep 17 00:00:00 2001 From: Finn Schneider Date: Thu, 9 Oct 2025 11:37:47 +0200 Subject: re #5846 consistent start page --- app/controllers/course/wiki.php | 1 - app/views/course/wiki/admin.php | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/app/controllers/course/wiki.php b/app/controllers/course/wiki.php index cf02e04..72474e3 100644 --- a/app/controllers/course/wiki.php +++ b/app/controllers/course/wiki.php @@ -494,7 +494,6 @@ class Course_WikiController extends AuthenticatedController } CSRFProtection::verifyUnsafeRequest(); $this->config = $this->range->getConfiguration(); - $this->config->store('WIKI_STARTPAGE_ID', trim(Request::option('wiki_startpage_id'))); if ( $this->config->WIKI_CREATE_PERMISSION === 'all' || $GLOBALS['perm']->have_studip_perm($this->config->WIKI_CREATE_PERMISSION, Context::getId()) diff --git a/app/views/course/wiki/admin.php b/app/views/course/wiki/admin.php index 22f3c35..9e1a505 100644 --- a/app/views/course/wiki/admin.php +++ b/app/views/course/wiki/admin.php @@ -8,18 +8,6 @@ ?>
- 0) : ?> - - WIKI_CREATE_PERMISSION === 'all' || $GLOBALS['perm']->have_studip_perm($config->WIKI_CREATE_PERMISSION, $range->id)) : ?>