summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-11-29 10:09:13 +0100
committerGitHub <noreply@github.com>2018-11-29 10:09:13 +0100
commitea310cbfdfd05dbb42671d5acacdc303508c1e34 (patch)
treec0218968bb15637602be6c648ab3cb6448154ce5
parentbe1b653ede4d5f65347f88f9d149331d7f16ce68 (diff)
parent46eca11a21405f1cbb44a279bc75c907aca6c0a8 (diff)
downloadnextcloud-server-ea310cbfdfd05dbb42671d5acacdc303508c1e34.tar.gz
nextcloud-server-ea310cbfdfd05dbb42671d5acacdc303508c1e34.zip
Merge pull request #12718 from nextcloud/backport/12668/stable15
[stable15] 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');