From: skodak Date: Sat, 16 Feb 2008 22:29:38 +0000 (+0000) Subject: MDL-13477 main version bumped to .02 - three decimal points did not work for Eloy... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e13f9c10087b6ebd3af92afeda478cfce048839c;p=moodle.git MDL-13477 main version bumped to .02 - three decimal points did not work for Eloy :-(; merged from MOODLE_19_STABLE --- diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 3a6d74a872..efaa3526e3 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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; diff --git a/version.php b/version.php index 8f0225e519..aadf0de482 100644 --- a/version.php +++ b/version.php @@ -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