Browse Source

Always query lookup server in GS mode

Without the lookupserver GS is kind of useless.
If the admin places their lookup sever outside of the reachable network
that is not something we can help.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/14325/head
Roeland Jago Douma 7 years ago
parent
commit
22528d1d13
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 2
      lib/private/Collaboration/Collaborators/LookupPlugin.php

2
lib/private/Collaboration/Collaborators/LookupPlugin.php

@ -66,7 +66,7 @@ class LookupPlugin implements ISearchPlugin {
$hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true);
// if case of Global Scale we always search the lookup server
if ((!$isLookupServerEnabled && !$isGlobalScaleEnabled) || !$hasInternetConnection) {
if (!$isGlobalScaleEnabled && (!$isLookupServerEnabled || !$hasInternetConnection)) {
return false;
}

Loading…
Cancel
Save