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
ca0b70eb2f
commit
0948ab721b
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class UpdateLookupServer {
|
|||
* @return bool
|
||||
*/
|
||||
private function shouldUpdateLookupServer() {
|
||||
return $this->lookupServerEnabled || !empty($this->lookupServer);
|
||||
return $this->lookupServerEnabled && !empty($this->lookupServer);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue