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:
Joas Schilling 2019-04-10 08:48:44 +02:00 committed by GitHub
commit d1e4d614da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class UpdateLookupServer {
* @return bool
*/
private function shouldUpdateLookupServer() {
return $this->lookupServerEnabled || !empty($this->lookupServer);
return $this->lookupServerEnabled && !empty($this->lookupServer);
}
}