From 15e41c2f5a434a8848214ae9294c50485fd3385d Mon Sep 17 00:00:00 2001 From: Pawel Boguslawski Date: Fri, 28 Oct 2022 16:40:36 +0200 Subject: 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 --- lib/Controller/PublicViewController.php | 2 +- 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'; -- cgit v1.2.3