mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-34905' of git://github.com/timhunt/moodle
This commit is contained in:
commit
b6582000f5
1 changed files with 2 additions and 0 deletions
|
@ -1335,6 +1335,8 @@ class quiz_attempt {
|
||||||
* flagged state was changed in the request.
|
* flagged state was changed in the request.
|
||||||
*/
|
*/
|
||||||
public function save_question_flags() {
|
public function save_question_flags() {
|
||||||
|
global $DB;
|
||||||
|
|
||||||
$transaction = $DB->start_delegated_transaction();
|
$transaction = $DB->start_delegated_transaction();
|
||||||
$this->quba->update_question_flags();
|
$this->quba->update_question_flags();
|
||||||
question_engine::save_questions_usage_by_activity($this->quba);
|
question_engine::save_questions_usage_by_activity($this->quba);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue