MDL-30653 Remove duplicate Participants link from navbar
This commit is contained in:
committed by
Sam Hemelryk
parent
a56eab4ada
commit
3b85cc33c3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user