MDL-13241 adding forgotten table scale_history into upgrade code; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-02-16 11:22:57 +00:00
parent d423b6dc9a
commit 5cf5145a9c
2 changed files with 2 additions and 1 deletions
+1
View 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');
}
+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; // YYYYMMDD = date
$version = 2007101508.001; // YYYYMMDD = date
// XY = increments within a single day
$release = '2.0 dev'; // Human-friendly version name