MDL-30653 Remove duplicate Participants link from navbar

This commit is contained in:
Andrew Robert Nicols
2011-12-13 12:09:12 +13:00
committed by Sam Hemelryk
parent a56eab4ada
commit 3b85cc33c3
-5
View File
@@ -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);