Skip to content

Commit

Permalink
MDL-59881 question bank: Use supplied function parameters.
Browse files Browse the repository at this point in the history
question_usage_by_activity::start_all_questions now uses all
three of the parameters that are defined.
  • Loading branch information
abgreeve committed Aug 22, 2017
1 parent 1c6106e commit 3298e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion question/engine/questionusage.php
Expand Up @@ -568,7 +568,8 @@ public function start_all_questions(question_variant_selection_strategy $variant
}

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);
}
}
Expand Down

0 comments on commit 3298e73

Please sign in to comment.