]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13477 main version bumped to .02 - three decimal points did not work for Eloy...
authorskodak <skodak>
Sat, 16 Feb 2008 22:29:38 +0000 (22:29 +0000)
committerskodak <skodak>
Sat, 16 Feb 2008 22:29:38 +0000 (22:29 +0000)
lib/db/upgrade.php
version.php

index 3a6d74a872f08fddb5254ca4e1ed6f00e0d5190a..efaa3526e3b7678917fa56c844daae1c58148989 100644 (file)
@@ -2724,7 +2724,7 @@ function xmldb_main_upgrade($oldversion=0) {
         upgrade_main_savepoint($result, 2007101508);
     }
 
-    if ($result && $oldversion < 2007101508.001) {
+    if ($result && $oldversion < 2007101508.01) {
 // add forgotten table
     /// Define table scale_history to be created
         $table = new XMLDBTable('scale_history');
@@ -2757,11 +2757,11 @@ function xmldb_main_upgrade($oldversion=0) {
         }
 
     /// Main savepoint reached
-        upgrade_main_savepoint($result, 2007101508.001);
+        upgrade_main_savepoint($result, 2007101508.01);
     }
 
 
-    if ($result && $oldversion < 2007101508.002) {
+    if ($result && $oldversion < 2007101508.02) {
         // upgade totals, no big deal if it fails
         require_once($CFG->libdir.'/statslib.php');
         stats_upgrade_totals();
@@ -2823,7 +2823,7 @@ function xmldb_main_upgrade($oldversion=0) {
         }
 
     /// Main savepoint reached
-        upgrade_main_savepoint($result, 2007101508.002);
+        upgrade_main_savepoint($result, 2007101508.02);
     }
 
     return $result;
index 8f0225e519c82d94105caf15584f3696126e40c3..aadf0de4823ecf04bee20317f4e1aa6a8f2ca458 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.002;  // YYYYMMDD = date
+    $version = 2007101508.02;  // YYYYMMDD = date
                             //       XY = increments within a single day
 
     $release = '2.0 dev';   // Human-friendly version name