Skip to content
Snippets Groups Projects
Unverified Commit 0948ab72 authored by Joas Schilling's avatar Joas Schilling
Browse files

Only update the lookup server if it is enabled AND a server is set

parent ca0b70eb
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ class UpdateLookupServer {
* @return bool
*/
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