Skip to content
Browse files

MDL-12889 - uncommitting previous change - since grade:viewall is new…

… to 1.9 (my bad)
  • Loading branch information...
1 parent cfe0874 commit e93291d5ee29c2560952b725922315a6d43b348a arborrow committed Jan 9, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
2 mod/assignment/lib.php
@@ -2177,7 +2177,7 @@ function assignment_print_recent_mod_activity($activity, $course, $detail=false)
}
- if (has_capability('moodle/grade:viewall', get_context_instance(CONTEXT_COURSE, $course))) {
+ if (has_capability('moodle/course:viewrecent', get_context_instance(CONTEXT_COURSE, $course))) {
$grades = "(" . $activity->content->grade . " / " . $activity->content->maxgrade . ") ";
$assignment->id = $activity->instance;

0 comments on commit e93291d

Please sign in to comment.
Something went wrong with that request. Please try again.