Merge pull request #15022 from nextcloud/bugfix/noid/respect-lookup-server-disabling-master
Respect the setting if the lookup server is disabled
This commit is contained in:
commit
d1e4d614da
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue