Some performance tweeks

This commit is contained in:
Michael Vogel 2020-08-16 13:57:56 +02:00
parent 977e4fe5d9
commit 45c12e7716
5 changed files with 12 additions and 7 deletions

View file

@ -166,7 +166,7 @@ class Profile
}
}
$profile = self::getByNickname($nickname, $user['uid']);
$profile = User::getOwnerDataById($user['uid'], false);
if (empty($profile) && empty($profiledata)) {
Logger::log('profile error: ' . DI::args()->getQueryString(), Logger::DEBUG);