From 6b3a341a953e553683520d85affef44418d4b7ce Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Thu, 8 Dec 2011 11:30:05 +0000 Subject: [PATCH] MDL-30653 Remove duplicate Participants link from navbar --- user/index.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/user/index.php b/user/index.php index 972364d897dd6..2f4119b08f234 100644 --- a/user/index.php +++ b/user/index.php @@ -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);