aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2020-11-24 15:49:49 +0100
committerGitHub <noreply@github.com>2020-11-24 15:49:49 +0100
commit6156a49f6ed258da2e4949f16d331959af537adb (patch)
treec4ef89e03af9f4040eaeae994d0ea7c72a4da5fa /lib
parentf37155d28ba1bc805eeb3abd445d3d965ecb34bd (diff)
parent2526c5e042e7fb54e6d82d54bdbc78003eaa5cf8 (diff)
downloadnextcloud-server-6156a49f6ed258da2e4949f16d331959af537adb.tar.gz
nextcloud-server-6156a49f6ed258da2e4949f16d331959af537adb.zip
Merge pull request #24341 from nextcloud/fix/sharing-enforce-expire-checkbox
Fix the config key on the sharing expire checkbox
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/JSConfigHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index e18081f3a8d..ebe799bf4f8 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -160,7 +160,7 @@ class JSConfigHelper {
$defaultInternalExpireDate = $defaultInternalExpireDateEnforced = null;
if ($defaultInternalExpireDateEnabled) {
$defaultInternalExpireDate = (int)$this->config->getAppValue('core', 'shareapi_internal_expire_after_n_days', '7');
- $defaultInternalExpireDateEnforced = $this->config->getAppValue('core', 'shareapi_internal_enforce_expire_date', 'no') === 'yes';
+ $defaultInternalExpireDateEnforced = $this->config->getAppValue('core', 'shareapi_enforce_internal_expire_date', 'no') === 'yes';
}
$countOfDataLocation = 0;