]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19350 upgrade blocks - adding missing savepoints to question types
authorstronk7 <stronk7>
Wed, 3 Jun 2009 17:27:07 +0000 (17:27 +0000)
committerstronk7 <stronk7>
Wed, 3 Jun 2009 17:27:07 +0000 (17:27 +0000)
question/type/multianswer/db/upgrade.php

index c0f732b6a0441ff0f0f8eee139e11be53e23c340..ee85f12f2aa33021c332beb960b6defb847f3896 100644 (file)
@@ -28,6 +28,8 @@ function xmldb_qtype_multianswer_upgrade($oldversion) {
 
     if ($result && $oldversion < 2008050800) {
         question_multianswer_fix_subquestion_parents_and_categories();
+    /// multianswer savepoint reached
+        upgrade_plugin_savepoint($result, 2008050800, 'qtype', 'multianswer');
     }
 
     return $result;