mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-55987-master-grademem' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
76ff730228
@ -1115,8 +1115,9 @@ function grade_recover_history_grades($userid, $courseid) {
|
||||
* @return bool true if ok, array of errors if problems found. Grade item id => error message
|
||||
*/
|
||||
function grade_regrade_final_grades($courseid, $userid=null, $updated_item=null, $progress=null) {
|
||||
// This may take a very long time.
|
||||
// This may take a very long time and extra memory.
|
||||
\core_php_time_limit::raise();
|
||||
raise_memory_limit(MEMORY_EXTRA);
|
||||
|
||||
$course_item = grade_item::fetch_course_item($courseid);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user