Skip to content

Commit a596eb2

Browse files
committed
Respect the setting if the lookup server is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 24bc923 commit a596eb2

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)