Skip to content
Snippets Groups Projects
Unverified Commit 592c04a9 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer Committed by Morris Jobke
Browse files

cache loadUser if not exists


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 528a903a
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ class Database extends Backend implements IUserBackend {
$this->cache[$uid] = false;
while ($row = $result->fetchRow()) {
if ($row = $result->fetchRow()) {
$this->cache[$uid]['uid'] = $row['uid'];
$this->cache[$uid]['displayname'] = $row['displayname'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment