Skip to content

Commit

Permalink
Merge branch 'wip-MDL-50568-master' of git://github.com/marinaglancy/…
Browse files Browse the repository at this point in the history
…moodle
  • Loading branch information
David Monllao committed Jun 22, 2015
2 parents 502d960 + 1d61d56 commit 336bded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/navigationlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ public function add_front_page_course_essentials(navigation_node $coursenode, st
$coursenode->add('frontpageloaded', null, self::TYPE_CUSTOM, null, 'frontpageloaded')->display = false;

//Participants
if (has_capability('moodle/course:viewparticipants', context_system::instance())) {
if (has_capability('moodle/site:viewparticipants', context_system::instance())) {
$coursenode->add(get_string('participants'), new moodle_url('/user/index.php?id='.$course->id), self::TYPE_CUSTOM, get_string('participants'), 'participants');
}

Expand Down

0 comments on commit 336bded

Please sign in to comment.