summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-11-28 22:06:32 +0100
committerGitHub <noreply@github.com>2018-11-28 22:06:32 +0100
commit5b649df4f3aff255b5dd271733579cc3fe60e371 (patch)
tree808d9165f0621746b6fdfd99e4e6baec5fcb3c5f
parent3da7364c364445997727133d04b4a053b90321f8 (diff)
parent1518671ad85665ccbde84b43a4aa7c1f735d4fa3 (diff)
downloadnextcloud-server-5b649df4f3aff255b5dd271733579cc3fe60e371.tar.gz
nextcloud-server-5b649df4f3aff255b5dd271733579cc3fe60e371.zip
Merge pull request #12668 from nextcloud/add-capabilities
add capabilities for multiple share links
-rw-r--r--apps/files_sharing/lib/Capabilities.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php
index ce10c8df8a1..a849dc4c9de 100644
--- a/apps/files_sharing/lib/Capabilities.php
+++ b/apps/files_sharing/lib/Capabilities.php
@@ -63,6 +63,7 @@ class Capabilities implements ICapability {
$public['password']['enforced'] = ($this->config->getAppValue('core', 'shareapi_enforce_links_password', 'no') === 'yes');
$public['expire_date'] = [];
+ $public['multiple_links'] = true;
$public['expire_date']['enabled'] = $this->config->getAppValue('core', 'shareapi_default_expire_date', 'no') === 'yes';
if ($public['expire_date']['enabled']) {
$public['expire_date']['days'] = $this->config->getAppValue('core', 'shareapi_expire_after_n_days', '7');