Commit 0fd2c377 authored by Yuliya Bozhko's avatar Yuliya Bozhko Committed by Yuliya Bozhko
Browse files

Fix upgrade error (Bug 1483963)



behatnotneeded

Change-Id: I22710f30703aa8e8d0c33fe38199c87a796c3622
Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
parent bb921fd8
......@@ -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