MDL-30653 Remove duplicate Participants link from navbar

This commit is contained in:
Andrew Robert Nicols 2011-12-08 11:30:05 +00:00
parent 42f6b3f1d7
commit 6b3a341a95

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);