diff options
Diffstat (limited to 'lib/private/Collaboration/Collaborators/LookupPlugin.php')
-rw-r--r-- | lib/private/Collaboration/Collaborators/LookupPlugin.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Collaborators/LookupPlugin.php b/lib/private/Collaboration/Collaborators/LookupPlugin.php index e3a04fb7dde..3a6a0943772 100644 --- a/lib/private/Collaboration/Collaborators/LookupPlugin.php +++ b/lib/private/Collaboration/Collaborators/LookupPlugin.php @@ -50,7 +50,7 @@ class LookupPlugin implements ISearchPlugin { $lookupServerUrl = $this->config->getSystemValue('lookup_server', 'https://lookup.nextcloud.com'); $lookupServerUrl = rtrim($lookupServerUrl, '/'); - $result = ['wide' => [], 'exact' => []]; + $result = []; try { $client = $this->clientService->newClient(); @@ -64,7 +64,6 @@ class LookupPlugin implements ISearchPlugin { $body = json_decode($response->getBody(), true); - $result = []; foreach ($body as $lookup) { $result[] = [ 'label' => $lookup['federationId'], |