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

This commit is contained in:
Sam Hemelryk
2012-02-20 10:58:23 +13:00
parent a005b98ba7
commit b6daade7ff
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6706,7 +6706,7 @@ FROM
upgrade_main_savepoint(true, 2011070103.04);
}
if ($oldversion < 2011070104.07) {
if ($oldversion < 2011070104.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) {
@@ -6720,7 +6720,7 @@ FROM
}
}
upgrade_main_savepoint(true, 2011070104.07);
upgrade_main_savepoint(true, 2011070104.08);
}
return true;
}
+1 -1
View File
@@ -30,7 +30,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2011070104.07; // 20110701 = branching date YYYYMMDD - do not modify!
$version = 2011070104.08; // 20110701 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches
// .XX = incremental changes