diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/course/wiki.php | 1 | ||||
| -rw-r--r-- | app/views/course/wiki/admin.php | 12 |
2 files changed, 0 insertions, 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 @@ ?> <form class="default" method="post" action="<?= $controller->store_course_config() ?>"> <?= CSRFProtection::tokenTag() ?> - <? if (count($pages) > 0) : ?> - <label> - <?= _('Startseite des Wikis') ?> - <select name="wiki_startpage_id"> - <? foreach ($pages as $page) : ?> - <option value="<?= htmlReady($page->id) ?>" - <? if ($config->WIKI_STARTPAGE_ID == $page->id) echo 'selected'; ?> - ><?= htmlReady($page->name) ?></option> - <? endforeach ?> - </select> - </label> - <? endif ?> <? if ($config->WIKI_CREATE_PERMISSION === 'all' || $GLOBALS['perm']->have_studip_perm($config->WIKI_CREATE_PERMISSION, $range->id)) : ?> <label> |
