Merge pull request #14325 from nextcloud/fix/always_query_lookup_server_in_gs_mode
Always query lookup server in GS mode
This commit is contained in:
commit
0a576459a9
|
@ -66,7 +66,7 @@ class LookupPlugin implements ISearchPlugin {
|
||||||
$hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true);
|
$hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true);
|
||||||
|
|
||||||
// if case of Global Scale we always search the lookup server
|
// if case of Global Scale we always search the lookup server
|
||||||
if ((!$isLookupServerEnabled && !$isGlobalScaleEnabled) || !$hasInternetConnection) {
|
if (!$isGlobalScaleEnabled && (!$isLookupServerEnabled || !$hasInternetConnection)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue