Skip to content
Snippets Groups Projects
Unverified Commit d1e4d614 authored by Joas Schilling's avatar Joas Schilling Committed by GitHub
Browse files

Merge pull request #15022 from nextcloud/bugfix/noid/respect-lookup-server-disabling-master

Respect the setting if the lookup server is disabled
parents 3a046503 541e15db
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ class UpdateLookupServer { ...@@ -165,7 +165,7 @@ class UpdateLookupServer {
* @return bool * @return bool
*/ */
private function shouldUpdateLookupServer() { private function shouldUpdateLookupServer() {
return $this->lookupServerEnabled || !empty($this->lookupServer); return $this->lookupServerEnabled && !empty($this->lookupServer);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment