mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-30653 Remove duplicate Participants link from navbar
This commit is contained in:
parent
42f6b3f1d7
commit
6b3a341a95
@ -135,11 +135,6 @@
|
||||
|
||||
$isseparategroups = ($course->groupmode == SEPARATEGROUPS and !has_capability('moodle/site:accessallgroups', $context));
|
||||
|
||||
if ($course->id===SITEID) {
|
||||
$PAGE->navbar->ignore_active();
|
||||
}
|
||||
|
||||
$PAGE->navbar->add(get_string('participants'));
|
||||
$PAGE->set_title("$course->shortname: ".get_string('participants'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_pagetype('course-view-' . $course->format);
|
||||
|
Loading…
x
Reference in New Issue
Block a user