diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-02-25 12:23:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 12:23:40 +0300 |
commit | 0a576459a9af43a1fd9cdd651e29379bcaaf230c (patch) | |
tree | 3d52115ef5e4e050826cece3cf22602a497db10f /lib | |
parent | 0ae68c7bf3bb3c9de5152f6de5695fee927d9dd9 (diff) | |
parent | 22528d1d133e630d80da704c6d9f21c90ee7e775 (diff) |
Merge pull request #14325 from nextcloud/fix/always_query_lookup_server_in_gs_mode
Always query lookup server in GS mode
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Collaboration/Collaborators/LookupPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/LookupPlugin.php b/lib/private/Collaboration/Collaborators/LookupPlugin.php index fb7c872c30c..afb9da05ce3 100644 --- a/lib/private/Collaboration/Collaborators/LookupPlugin.php +++ b/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; } |