Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-34905_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
commit cfebb1a5380315a3210c5a1e7d4845e0fe0c6367 2 parents 9bdc95b + 2a077c0
@danpoltawski danpoltawski authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mod/quiz/attemptlib.php
View
2  mod/quiz/attemptlib.php
@@ -1335,6 +1335,8 @@ public function process_submitted_actions($timestamp, $becomingoverdue = false)
* flagged state was changed in the request.
*/
public function save_question_flags() {
+ global $DB;
+
$transaction = $DB->start_delegated_transaction();
$this->quba->update_question_flags();
question_engine::save_questions_usage_by_activity($this->quba);
Please sign in to comment.
Something went wrong with that request. Please try again.