Permalink
Browse files

Merge branch 'MDL-39084-moodle24' of github.com:StudiUM/moodle into M…

…OODLE_24_STABLE
  • Loading branch information...
2 parents 3054e59 + efc0be3 commit 501dd08c6bebe57a40bb74ca053768471f79e392 @damyon damyon committed Apr 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/lib.php
View
@@ -2461,7 +2461,7 @@ public static function get_info_manage_settings($courseid) {
return self::$managesetting;
}
$context = context_course::instance($courseid);
- if (has_capability('moodle/course:update', $context)) {
+ if (has_capability('moodle/grade:manage', $context)) {
self::$managesetting = new grade_plugin_info('coursesettings', new moodle_url('/grade/edit/settings/index.php', array('id'=>$courseid)), get_string('course'));
} else {
self::$managesetting = false;

0 comments on commit 501dd08

Please sign in to comment.