mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Update manager.php
This commit is contained in:
parent
14fcd68172
commit
6a3d6d3e4b
1 changed files with 2 additions and 2 deletions
|
|
@ -182,10 +182,10 @@ class Manager extends PublicEmitter {
|
|||
foreach ($this->backends as $backend) {
|
||||
$groupIds = $backend->getUserGroups($uid);
|
||||
foreach ($groupIds as $groupId) {
|
||||
$groups[] = $this->get($groupId);
|
||||
$groups[$groupId] = $this->get($groupId);
|
||||
}
|
||||
}
|
||||
$this->cachedUserGroups[$uid] = $groups;
|
||||
$this->cachedUserGroups[$uid] = array_values($groups);
|
||||
return $this->cachedUserGroups[$uid];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue