Skip to content
Snippets Groups Projects
Unverified Commit 0a576459 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #14325 from nextcloud/fix/always_query_lookup_server_in_gs_mode

Always query lookup server in GS mode
parents 0ae68c7b 22528d1d
Loading
...@@ -66,7 +66,7 @@ class LookupPlugin implements ISearchPlugin { ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment