]> source.dussan.org Git - nextcloud-server.git/commitdiff
Expose capability if the lookup server should be queried by default
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 28 Nov 2019 09:50:48 +0000 (10:50 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Dec 2019 07:38:33 +0000 (08:38 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/lib/Capabilities.php

index 26062ef51bcafca7145d0592cfdc5827877f6b6a..ec475f61e9101b970e77ade98da1b3018dad00ad 100644 (file)
@@ -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,
                ];