Skip to content

Commit

Permalink
MDL-43774 badges: Stop overriding default course navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuliya Bozhko committed Feb 4, 2014
1 parent 183515d commit ab8aa58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions badges/view.php
Expand Up @@ -73,11 +73,6 @@
$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);
Expand Down

0 comments on commit ab8aa58

Please sign in to comment.