Merge branch 'MDL-30653-master-2' of git://git.luns.net.uk/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 12 Dec 2011 23:08:12 +0000 (12:08 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 12 Dec 2011 23:08:12 +0000 (12:08 +1300)
user/index.php

index 972364d..2f4119b 100644 (file)
 
     $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);