MDL-30521 upgrade: Corrected version bump for uniquehash field upgrade
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user