Merge branch 'MDL-79747_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-10-18 10:29:08 +02:00
commit 4d9b533fd4
No known key found for this signature in database

View File

@ -47,7 +47,6 @@ class recalculate extends \core\task\adhoc_task {
public static function instance(int $quizid): recalculate {
$task = new self();
$task->set_component('quiz_statistics');
$task->set_userid(get_admin()->id);
$task->set_custom_data((object)[
'quizid' => $quizid,
]);