Merge branch 'MDL-45455_25' of git://github.com/timhunt/moodle into MOODLE_25_STABLE

This commit is contained in:
Damyon Wiese
2014-05-19 19:58:26 +08:00
+3
View File
@@ -84,6 +84,9 @@ class mod_quiz_overdue_attempt_updater {
mtrace("Error while processing attempt {$attempt->id} at {$attempt->quiz} quiz:");
mtrace($e->getMessage());
mtrace($e->getTraceAsString());
// Close down any currently open transactions, otherwise one error
// will stop following DB changes from being committed.
$DB->force_transaction_rollback();
}
}