mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 17:33:18 +02:00
MDL-71914 navigation: Update tab urls
- Remove sr from the urls when not set - Remove sesskey from course tab so the scan can pick it up
This commit is contained in:
parent
773051b98f
commit
f1ca3757a7
@ -202,7 +202,7 @@ class secondary extends view {
|
||||
$settingsnav = $this->page->settingsnav;
|
||||
$navigation = $this->page->navigation;
|
||||
|
||||
$url = new \moodle_url('/course/view.php', ['id' => $course->id, 'sesskey' => sesskey()]);
|
||||
$url = new \moodle_url('/course/view.php', ['id' => $course->id]);
|
||||
$this->add(get_string('course'), $url, self::TYPE_COURSE, null, 'coursehome');
|
||||
|
||||
$nodes = $this->get_default_course_mapping();
|
||||
|
Loading…
x
Reference in New Issue
Block a user