upgrade_main_savepoint($result, 2009061300);
}
+ /// Repeat 2009050607 upgrade step, which Petr commented out becuase of XMLDB
+ /// stupidity, so lots of peopel will have missed.
+ if ($result && $oldversion < 2009061600) {
+ /// Changing precision of field defaultregion on table block_instances to (16)
+ $table = new xmldb_table('block_instances');
+ $field = new xmldb_field('defaultregion', XMLDB_TYPE_CHAR, '16', null, XMLDB_NOTNULL, null, null, 'configdata');
+
+ /// Launch change of precision for field defaultregion
+ $dbman->change_field_precision($table, $field);
+
+ /// Main savepoint reached
+ upgrade_main_savepoint($result, 2009061600);
+ }
+
return $result;
}
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2009061300; // YYYYMMDD = date of the last version bump
+ $version = 2009061600; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20090616)'; // Human-friendly version name