mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Revert "MDL-39286 Remove link on My Courses settings heading"
This reverts commit 8b79059480935160a7ef0b9d767a4fc2a5532b39. Behat is failing with this change.
This commit is contained in:
parent
6ca388028e
commit
4c9464ca0d
@ -1104,7 +1104,7 @@ class global_navigation extends navigation_node {
|
||||
$this->rootnodes['site'] = $this->add_course($SITE);
|
||||
$this->rootnodes['myprofile'] = $this->add(get_string('myprofile'), null, self::TYPE_USER, null, 'myprofile');
|
||||
$this->rootnodes['currentcourse'] = $this->add(get_string('currentcourse'), null, self::TYPE_ROOTNODE, null, 'currentcourse');
|
||||
$this->rootnodes['mycourses'] = $this->add(get_string('mycourses'), null, self::TYPE_ROOTNODE, null, 'mycourses');
|
||||
$this->rootnodes['mycourses'] = $this->add(get_string('mycourses'), new moodle_url('/my/'), self::TYPE_ROOTNODE, null, 'mycourses');
|
||||
$this->rootnodes['courses'] = $this->add(get_string('courses'), new moodle_url('/course/index.php'), self::TYPE_ROOTNODE, null, 'courses');
|
||||
$this->rootnodes['users'] = $this->add(get_string('users'), null, self::TYPE_ROOTNODE, null, 'users');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user