diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 39487426a25..9d87323c4fe 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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'); } diff --git a/version.php b/version.php index 93d228d9034..dea5b84a631 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; // YYYYMMDD = date + $version = 2007101508.001; // YYYYMMDD = date // XY = increments within a single day $release = '2.0 dev'; // Human-friendly version name