MDL-29195 Remove duplicate Participants -> Notes from navbar
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Thu, 8 Dec 2011 12:07:50 +0000 (12:07 +0000)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Thu, 8 Dec 2011 12:07:50 +0000 (12:07 +0000)
notes/index.php

index f1371d3..54fdfc4 100644 (file)
@@ -84,8 +84,6 @@ if ($userid) {
     if (has_capability('moodle/course:viewparticipants', $coursecontext) || has_capability('moodle/site:viewparticipants', $systemcontext)) {
         $link = new moodle_url('/user/index.php',array('id'=>$course->id));
     }
-    $PAGE->navbar->add(get_string('participants'), $link);
-    $PAGE->navbar->add($strnotes);
 }
 
 $PAGE->set_pagelayout('course');