MDL-13553 - upgrade path to correctly identify the type of each tag_instance

This commit is contained in:
scyrma
2008-02-21 00:49:59 +00:00
parent 2c4bd0a648
commit 6d643c9d6d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -2846,6 +2846,10 @@ function xmldb_main_upgrade($oldversion=0) {
upgrade_main_savepoint($result, 2007101508.03);
}
if ($result && $oldversion < 2007101508.04) {
set_field('tag_instance', 'itemtype', 'post', 'itemtype', 'blog');
upgrade_main_savepoint($result, 2007101508.04);
}
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.03; // YYYYMMDD = date of the 1.9 branch (don't change)
$version = 2007101508.04; // YYYYMMDD = date of the 1.9 branch (don't change)
// X = release number 1.9.[0,1,2,3...]
// Y = micro-increments between releases