add capabilities for multiple share links
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
68ad2ae118
commit
1518671ad8
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue