Skip to content

Commit

Permalink
MDL-30653 Remove duplicate Participants link from navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Robert Nicols committed Dec 12, 2011
1 parent 42f6b3f commit 6b3a341
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions user/index.php
Expand Up @@ -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);
Expand Down

0 comments on commit 6b3a341

Please sign in to comment.