diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-26 14:44:59 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-11-26 14:44:59 +0100 |
commit | 1518671ad85665ccbde84b43a4aa7c1f735d4fa3 (patch) | |
tree | 447b14c12536de8a4a792f5e29f3e3b0c624c2f8 /apps/files_sharing | |
parent | 68ad2ae11873933ca2212df5a141e49cafa83c33 (diff) | |
download | nextcloud-server-1518671ad85665ccbde84b43a4aa7c1f735d4fa3.tar.gz nextcloud-server-1518671ad85665ccbde84b43a4aa7c1f735d4fa3.zip |
add capabilities for multiple share links
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/Capabilities.php | 1 |
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'); |