Skip to content

Commit 3325038

Browse files
Merge pull request #15021 from nextcloud/bugfix/noid/respect-lookup-server-disabling
[stable15] Respect the setting if the lookup server is disabled
2 parents 2531679 + a596eb2 commit 3325038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/lookup_server_connector/lib/UpdateLookupServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function sendToLookupServer(IUser $user, array $publicData) {
165165
* @return bool
166166
*/
167167
private function shouldUpdateLookupServer() {
168-
return $this->lookupServerEnabled || !empty($this->lookupServer);
168+
return $this->lookupServerEnabled && !empty($this->lookupServer);
169169
}
170170

171171
}

0 commit comments

Comments
 (0)