mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
Merge branch 'MDL-49826_grade_single_view' of git://github.com/davosmith/moodle
This commit is contained in:
commit
7ee1695850
@ -52,7 +52,7 @@ class gradereport_singleview extends grade_report {
|
||||
* @return array List of warnings
|
||||
*/
|
||||
public function process_data($data) {
|
||||
if (has_capability('moodle/grade:manage', $this->context)) {
|
||||
if (has_capability('moodle/grade:edit', $this->context)) {
|
||||
return $this->screen->process($data);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user