diff options
author | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:40:36 +0300 |
---|---|---|
committer | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:40:36 +0300 |
commit | 15e41c2f5a434a8848214ae9294c50485fd3385d (patch) | |
tree | 52e913c095f0ed82d63927e1bbc32e22e4ad9a19 | |
parent | 613f90a0cbe4fe77d45dd934a3aa02c0b7125972 (diff) |
Param renamed to dav.allow_calendar_link_subscriptions
Fixes: 613f90a0cbe4fe77d45dd934a3aa02c0b7125972
Related: https://github.com/nextcloud/server/pull/34387#discussion_r1008131871
Author-Change-Id: IB#1126265
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
-rw-r--r-- | lib/Controller/PublicViewController.php | 2 | ||||
-rw-r--r-- | lib/Controller/ViewController.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/PublicViewController.php b/lib/Controller/PublicViewController.php index ba066406..3f10efe5 100644 --- a/lib/Controller/PublicViewController.php +++ b/lib/Controller/PublicViewController.php @@ -129,7 +129,7 @@ class PublicViewController extends Controller { $defaultSlotDuration = $this->config->getAppValue($this->appName, 'slotDuration', '00:30:00'); $defaultDefaultReminder = $this->config->getAppValue($this->appName, 'defaultReminder', 'none'); $defaultShowTasks = $this->config->getAppValue($this->appName, 'showTasks', 'yes'); - $defaultCanSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_subscriptions', 'yes'); + $defaultCanSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_link_subscriptions', 'yes'); $appVersion = $this->config->getAppValue($this->appName, 'installed_version', null); diff --git a/lib/Controller/ViewController.php b/lib/Controller/ViewController.php index d0343e4d..b106d967 100644 --- a/lib/Controller/ViewController.php +++ b/lib/Controller/ViewController.php @@ -101,7 +101,7 @@ class ViewController extends Controller { if (!in_array($forceEventAlarmType, ['DISPLAY', 'EMAIL'], true)) { $forceEventAlarmType = false; } - $canSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_subscriptions', 'yes') === 'yes'; + $canSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_link_subscriptions', 'yes') === 'yes'; $talkEnabled = $this->appManager->isEnabledForUser('spreed'); $talkApiVersion = version_compare($this->appManager->getAppVersion('spreed'), '12.0.0', '>=') ? 'v4' : 'v1'; |