Fix for MDL-10996 : prevent course name from being displayed twice.

This commit is contained in:
scyrma 2007-11-15 04:04:21 +00:00
parent b27b1473af
commit b087818c35

View File

@ -126,7 +126,6 @@
$navlinks = array();
/// course header
if ($course->id != SITEID) {
$navlinks[] = array('name' => $course->shortname, 'link' => "$CFG->wwwroot/course/view.php?id=$course->id", 'type' => 'course');
$navlinks[] = array('name' => $strparticipants, 'link' => "$CFG->wwwroot/user/index.php?id=$course->id", 'type' => 'misc');
$navlinks[] = array('name' => $fullname, 'link' => "$CFG->wwwroot/user/view.php?id=$userid&course=$courseid", 'type' => 'misc');
$navlinks[] = array('name' => $straction, 'link' => null, 'type' => 'misc');