Browse Source

Expose capability if the lookup server should be queried by default

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/18144/head
Roeland Jago Douma 6 years ago
parent
commit
5e14b299bc
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 5
      apps/files_sharing/lib/Capabilities.php

5
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,
];

Loading…
Cancel
Save