summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-28 10:50:48 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-12-05 08:38:33 +0100
commit5e14b299bcf534e820278939ab98f7ea63858daf (patch)
tree8924352493ef5ac5723aa19c40eb87e5ae9064d8 /apps/files_sharing
parent7a454135591b64a69c3eab2c5646c104e8df1b8c (diff)
downloadnextcloud-server-5e14b299bcf534e820278939ab98f7ea63858daf.tar.gz
nextcloud-server-5e14b299bcf534e820278939ab98f7ea63858daf.zip
Expose capability if the lookup server should be queried by default
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Capabilities.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php
index 26062ef51bc..ec475f61e91 100644
--- a/apps/files_sharing/lib/Capabilities.php
+++ b/apps/files_sharing/lib/Capabilities.php
@@ -112,6 +112,11 @@ class Capabilities implements ICapability {
'expire_date' => ['enabled' => true]
];
+ // Sharee searches
+ $res['sharee'] = [
+ 'query_lookup_default' => $this->config->getSystemValueBool('gs.enabled', false)
+ ];
+
return [
'files_sharing' => $res,
];