summaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector/lib/UpdateLookupServer.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lookup_server_connector/lib/UpdateLookupServer.php')
-rw-r--r--apps/lookup_server_connector/lib/UpdateLookupServer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php
index f96b3d787f2..75da45dce2f 100644
--- a/apps/lookup_server_connector/lib/UpdateLookupServer.php
+++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php
@@ -165,7 +165,7 @@ class UpdateLookupServer {
* @return bool
*/
private function shouldUpdateLookupServer() {
- return $this->lookupServerEnabled || !empty($this->lookupServer);
+ return $this->lookupServerEnabled && !empty($this->lookupServer);
}
}