mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Merged from MOODLE_14_HEAD - Better behaviour of fix_course_sortorder() -- related to bug #2334 -- includes version bump to clear out recalcitrant sortorders
This commit is contained in:
parent
94afadb360
commit
4c3911f934
@ -1142,6 +1142,10 @@ function main_upgrade($oldversion=0) {
|
||||
table_column('course_meta','id','id','integer','10','','0','not null');
|
||||
}
|
||||
|
||||
if ($oldversion < 2005020100) {
|
||||
fix_course_sortorder(0, 1, 1);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
@ -907,6 +907,10 @@ function main_upgrade($oldversion=0) {
|
||||
table_column('course','','metacourse','integer','1','','0','not null');
|
||||
}
|
||||
|
||||
if ($oldversion < 2005020100) {
|
||||
fix_course_sortorder(0, 1, 1);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// This is compared against the values stored in the database to determine
|
||||
// whether upgrades should be performed (see lib/db/*.php)
|
||||
|
||||
$version = 2005012800; // YYYYMMDD = date of first major branch release 1.4
|
||||
$version = 2005020100; // YYYYMMDD = date of first major branch release 1.4
|
||||
// XY = increments within a single day
|
||||
|
||||
$release = '1.5 UNSTABLE DEVELOPMENT'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user