mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-59881 question bank: Use supplied function parameters.
question_usage_by_activity::start_all_questions now uses all three of the parameters that are defined.
This commit is contained in:
parent
27466d7548
commit
e3909e5853
1 changed files with 2 additions and 1 deletions
|
@ -568,7 +568,8 @@ class question_usage_by_activity {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->questionattempts as $qa) {
|
foreach ($this->questionattempts as $qa) {
|
||||||
$qa->start($this->preferredbehaviour, $qa->select_variant($variantstrategy));
|
$qa->start($this->preferredbehaviour, $qa->select_variant($variantstrategy), array(),
|
||||||
|
$timestamp, $userid);
|
||||||
$this->observer->notify_attempt_modified($qa);
|
$this->observer->notify_attempt_modified($qa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue