MDL-30521 upgrade: Corrected version bump for uniquehash field upgrade

This commit is contained in:
Sam Hemelryk
2012-02-20 10:56:56 +13:00
parent 3fe335c455
commit 8a40b2d894
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6974,7 +6974,7 @@ FROM
upgrade_main_savepoint(true, 2011120500.03);
}
if ($oldversion < 2011120501.07) {
if ($oldversion < 2011120501.08) {
// Check if we need to fix post.uniquehash
$columns = $DB->get_columns('post');
if (array_key_exists('uniquehash', $columns) && $columns['uniquehash']->max_length != 255) {
@@ -6988,7 +6988,7 @@ FROM
}
}
upgrade_main_savepoint(true, 2011120501.07);
upgrade_main_savepoint(true, 2011120501.08);
}
return true;
}
+1 -1
View File
@@ -30,7 +30,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2011120501.07; // 20111205 = branching date YYYYMMDD - do not modify!
$version = 2011120501.08; // 20111205 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches
// .XX = incremental changes