]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: Added missing savepoint
authorstronk7 <stronk7>
Mon, 10 Aug 2009 17:41:26 +0000 (17:41 +0000)
committerstronk7 <stronk7>
Mon, 10 Aug 2009 17:41:26 +0000 (17:41 +0000)
lib/db/upgrade.php

index dea7578a07ae82f4da0c996baf751d0f71ca96a5..494dc3c2c574e3f2040295bb812efac659237d83 100644 (file)
@@ -2305,6 +2305,9 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
         if ($current_bloglevel == BLOG_GROUP_LEVEL || $current_bloglevel == BLOG_COURSE_LEVEL) {
             set_config('bloglevel', BLOG_SITE_LEVEL);
         }
+
+    /// Main savepoint reached
+        upgrade_main_savepoint($result, 2009070100);
     }
 
     if ($result && $oldversion < 2009071000) {