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