MDL-37155 fix course sortorder to prevent problems in later unsigned migration
This commit is contained in:
@@ -7261,5 +7261,12 @@ FROM
|
||||
upgrade_main_savepoint(true, 2011120506.06);
|
||||
}
|
||||
|
||||
if ($oldversion < 2011120507.03) {
|
||||
// Make sure the sortorder is not above the unsigned integer MySQL range.
|
||||
fix_course_sortorder();
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2011120507.03);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
|
||||
$version = 2011120507.02; // 20111205 = branching date YYYYMMDD - do not modify!
|
||||
$version = 2011120507.03; // 20111205 = branching date YYYYMMDD - do not modify!
|
||||
// RR = release increments - 00 in DEV branches
|
||||
// .XX = incremental changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user