]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13241 adding forgotten table scale_history into upgrade code; merged from MOODLE_...
authorskodak <skodak>
Sat, 16 Feb 2008 11:22:57 +0000 (11:22 +0000)
committerskodak <skodak>
Sat, 16 Feb 2008 11:22:57 +0000 (11:22 +0000)
lib/db/upgrade.php
version.php

index 39487426a25e3f4700ca5b84f4856db971aa8416..9d87323c4fecff4c54cb06b1c4be8b4a70ba8678 100644 (file)
@@ -2629,6 +2629,7 @@ function xmldb_main_upgrade($oldversion=0) {
     }    
 
     if ($result && $oldversion < 2007101503) {
+///TODO: move this to the end after we stop using 19 version
         // Update courses that used weekscss to weeks
         $result = $result && set_field('course', 'format', 'weeks', 'format', 'weekscss');
     }
index 93d228d9034b30e932f6ec9f8aed89edc042f597..dea5b84a6315b376f899d209e9c53cb0df41efbb 100644 (file)
@@ -6,7 +6,7 @@
 // This is compared against the values stored in the database to determine
 // whether upgrades should be performed (see lib/db/*.php)
 
-    $version = 2007101508;  // YYYYMMDD = date
+    $version = 2007101508.001;  // YYYYMMDD = date
                             //       XY = increments within a single day
 
     $release = '2.0 dev';   // Human-friendly version name