mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-16879 run upgrade_fix_incorrect_mnethostids() in upgrade. Bump.
This commit is contained in:
parent
02caf1e799
commit
ecdf5d17a0
@ -2126,6 +2126,16 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
|
||||
upgrade_main_savepoint($result, 2009050619);
|
||||
}
|
||||
|
||||
if ($result && $oldversion < 2009051200) {
|
||||
/// Let's check the status of mandatory mnet_host records, fixing them
|
||||
/// and moving "orphan" users to default localhost record. MDL-16879
|
||||
notify('Fixing mnet records, this may take a while...', 'notifysuccess');
|
||||
upgrade_fix_incorrect_mnethostids();
|
||||
|
||||
/// Main savepoint reached
|
||||
upgrade_main_savepoint($result, 2009051200);
|
||||
}
|
||||
|
||||
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 = 2009050619; // YYYYMMDD = date of the last version bump
|
||||
$version = 2009051200; // YYYYMMDD = date of the last version bump
|
||||
// XX = daily increments
|
||||
|
||||
$release = '2.0 dev (Build: 20090511)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user