diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-02-21 21:36:14 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-02-26 19:44:49 +0100 |
commit | e930a0ccbef07f5ce9847c39584d4125aecffe38 (patch) | |
tree | 1c99d96afe026d3c8fc81057bc7a434cb6fb1bef /lib/private/Collaboration | |
parent | a3d936fbb7c8356a39308d836282b4ee6b2abdc1 (diff) | |
download | nextcloud-server-e930a0ccbef07f5ce9847c39584d4125aecffe38.tar.gz nextcloud-server-e930a0ccbef07f5ce9847c39584d4125aecffe38.zip |
Search sharees on lookup server when explicitly requested by user
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Collaboration')
-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 afb9da05ce3..438985ef0d3 100644 --- a/lib/private/Collaboration/Collaborators/LookupPlugin.php +++ b/lib/private/Collaboration/Collaborators/LookupPlugin.php @@ -62,7 +62,7 @@ class LookupPlugin implements ISearchPlugin { public function search($search, $limit, $offset, ISearchResult $searchResult) { $isGlobalScaleEnabled = $this->config->getSystemValue('gs.enabled', false); - $isLookupServerEnabled = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'no') === 'yes'; + $isLookupServerEnabled = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'yes') === 'yes'; $hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true); // if case of Global Scale we always search the lookup server |