Only update the lookup server if it is enabled AND a server is set
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ec4b1584fe
commit
541e15db11
|
@ -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