Commit 45f29a68 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Fix upgrade error (Bug 1483963)"

parents 2cfeaf03 0fd2c377
......@@ -4167,7 +4167,7 @@ function xmldb_core_upgrade($oldversion=0) {
create_table($table);
// Insert info about current users's logins
$results = get_records_sql_array("SELECT id,lastlogin FROM usr WHERE deleted = 0 AND lastlogin IS NOT NULL");
$results = get_records_sql_array("SELECT id,lastlogin FROM {usr} WHERE deleted = 0 AND lastlogin IS NOT NULL");
$count = 0;
$limit = 1000;
$total = count($results);
......
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