summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-11-26 14:44:59 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-11-28 21:07:16 +0000
commit46eca11a21405f1cbb44a279bc75c907aca6c0a8 (patch)
tree0afd80adb02267c01ec7d248d844b4c03f6894d7
parentc0a8e5b2081ad14fd325f95ffa4b7c881adf4334 (diff)
downloadnextcloud-server-46eca11a21405f1cbb44a279bc75c907aca6c0a8.tar.gz
nextcloud-server-46eca11a21405f1cbb44a279bc75c907aca6c0a8.zip
add capabilities for multiple share links
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-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');