Skip to content

Commit

Permalink
Adding savepoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Feb 24, 2024
1 parent 289e9da commit c73a579
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,9 @@ function xmldb_questionnaire_upgrade($oldversion=0) {
foreach ($filerecords as $filerecord) {
\mod_questionnaire\responsetype\file::fix_file_itemid($idmap[(int)$filerecord->id], $filerecord);
}

// Questionnaire savepoint reached.
upgrade_mod_savepoint(true, 2023101501, 'questionnaire');
}

return $result;
Expand Down

0 comments on commit c73a579

Please sign in to comment.