mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-29195 Remove duplicate Participants -> Notes from navbar
This commit is contained in:
parent
42f6b3f1d7
commit
93e1d182e5
@ -84,8 +84,6 @@ if ($userid) {
|
|||||||
if (has_capability('moodle/course:viewparticipants', $coursecontext) || has_capability('moodle/site:viewparticipants', $systemcontext)) {
|
if (has_capability('moodle/course:viewparticipants', $coursecontext) || has_capability('moodle/site:viewparticipants', $systemcontext)) {
|
||||||
$link = new moodle_url('/user/index.php',array('id'=>$course->id));
|
$link = new moodle_url('/user/index.php',array('id'=>$course->id));
|
||||||
}
|
}
|
||||||
$PAGE->navbar->add(get_string('participants'), $link);
|
|
||||||
$PAGE->navbar->add($strnotes);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$PAGE->set_pagelayout('course');
|
$PAGE->set_pagelayout('course');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user