mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-50589-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
02c72ecb79
1 changed files with 3 additions and 0 deletions
|
@ -115,6 +115,9 @@ class gradereport_user_external extends external_api {
|
||||||
require_once($CFG->dirroot . '/grade/lib.php');
|
require_once($CFG->dirroot . '/grade/lib.php');
|
||||||
require_once($CFG->dirroot . '/grade/report/user/lib.php');
|
require_once($CFG->dirroot . '/grade/report/user/lib.php');
|
||||||
|
|
||||||
|
// Force regrade to update items marked as 'needupdate'.
|
||||||
|
grade_regrade_final_grades($course->id);
|
||||||
|
|
||||||
$gpr = new grade_plugin_return(
|
$gpr = new grade_plugin_return(
|
||||||
array(
|
array(
|
||||||
'type' => 'report',
|
'type' => 'report',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue