Permalink
Browse files

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

…OODLE_23_STABLE
  • Loading branch information...
2 parents 9bdc95b + 2a077c0 commit cfebb1a5380315a3210c5a1e7d4845e0fe0c6367 @danpoltawski danpoltawski committed Aug 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/quiz/attemptlib.php
View
@@ -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);

0 comments on commit cfebb1a

Please sign in to comment.