mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54850 from nextcloud/backport/54839/stable30
[stable30] perf(users): Create lazy users in IUserManager::getSeenUsers
This commit is contained in:
commit
f74f15fffc
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ class Manager extends PublicEmitter implements IUserManager {
|
|||
foreach ($userIds as $userId) {
|
||||
foreach ($this->backends as $backend) {
|
||||
if ($backend->userExists($userId)) {
|
||||
$user = $this->getUserObject($userId, $backend, false);
|
||||
$user = new LazyUser($userId, $this, null, $backend);
|
||||
yield $user;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue