Merge branch 'MDL-43774_master' of https://github.com/totara/openbadges
authorSam Hemelryk <sam@moodle.com>
Mon, 10 Feb 2014 02:21:41 +0000 (15:21 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 10 Feb 2014 02:21:41 +0000 (15:21 +1300)
badges/view.php

index d623c81..38c0fe9 100644 (file)
@@ -73,11 +73,6 @@ if ($type == BADGE_TYPE_SITE) {
     $PAGE->set_context(context_course::instance($course->id));
     $PAGE->set_pagelayout('course');
     $PAGE->set_heading($title);
-
-    // Fix course navigation.
-    $PAGE->navbar->ignore_active();
-    $PAGE->navbar->add($course->shortname, new moodle_url('/course/view.php', array('id' => $course->id)));
-    $PAGE->navbar->add(get_string('coursebadges', 'badges'));
 }
 
 $PAGE->set_title($title);