Commit e50d1613 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1527456: Fixing up db/upgrade.php



Two patches got merged with the same version update number so might as
well have the upgrade steps in the same 'if' statement

behatnotneeded

Change-Id: I2d9e24fc967a491d5a1d3d76e1f45bc8545ff4ab
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 34d836c7
......@@ -4645,9 +4645,7 @@ function xmldb_core_upgrade($oldversion=0) {
if (field_exists($table, $field)) {
drop_field($table, $field);
}
}
if ($oldversion < 2016072500) {
log_debug('Updating usr.suspendedcusr from 0 to a valid site admin ID for users suspended via a cron task.');
$admins = get_site_admins();
$suspendinguserid = $admins[0]->id;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment