mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 16:48:59 -04:00
perf(carddav): don't query circle memberships
It is not possible to share address books with circles so it is pointless to query for address books shared with joined circles. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
2ea3491240
commit
de37af9687
1 changed files with 0 additions and 1 deletions
|
|
@ -127,7 +127,6 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
|||
|
||||
// query for shared addressbooks
|
||||
$principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true);
|
||||
$principals = array_merge($principals, $this->principalBackend->getCircleMembership($principalUriOriginal));
|
||||
|
||||
$principals[] = $principalUri;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue