diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-25 13:41:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 13:41:26 +0300 |
commit | 5d247b5da60bb379b37c9243dd7a0e11e388c5bc (patch) | |
tree | d9aa89f5ea9bc24aa6fc5db76197f241bdd00c08 | |
parent | a7b322bd65c8a13ee59c1271828d3b6c2d669654 (diff) | |
parent | 8ea0e721ed9a5170be2575bd2222ef9508bae601 (diff) |
Merge pull request #14368 from nextcloud/backport/14325/stable15
[stable15] Always query lookup server in GS mode
-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; } |