Commit f2f05f54 authored by Nigel McNie's avatar Nigel McNie
Browse files

Correct an $oldversion check that was previously fixed only on 1.0_STABLE.

(cherry picked from commit 6a7a548b)
parent a42d292e
......@@ -881,7 +881,7 @@ function xmldb_core_upgrade($oldversion=0) {
// as another not being able to log in. The fix is to implement the checks,
// rename the "duplicate" users and add a constraint on the database so it
// can't happen again
if ($oldversion < 2008040203) {
if ($oldversion < 2008040202) {
$renamed = $newusernames = $oldusernames = array();
$allusers = get_records_array('usr', '', '', 'id', 'id, username');
......
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