MDL-13477 main version bumped to .02 - three decimal points did not work for Eloy :-(; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-02-16 22:29:38 +00:00
parent 61460dd631
commit e13f9c1008
2 changed files with 5 additions and 5 deletions
+4 -4
View 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;
+1 -1
View 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