mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 08:23:01 +02:00
Merge branch 'MDL-79747_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
4d9b533fd4
@ -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,
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user