diff options
author | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:35:04 +0300 |
---|---|---|
committer | Pawel Boguslawski <pawel.boguslawski@ib.pl> | 2022-10-28 17:35:04 +0300 |
commit | 613f90a0cbe4fe77d45dd934a3aa02c0b7125972 (patch) | |
tree | 833b3d4a98951c8e7f87d5736231afacf493fd18 | |
parent | 0baaebc69aafe8ab34025f66b02f77fa9e89759b (diff) |
Param renamed to dav.allow_calendar_subscriptions
Fixes: ef4c1f920bb841441ba68b8cae18d2b2ea735829
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 99b079c5..ba066406 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($this->appName, 'allow_subscribe_link', 'yes'); + $defaultCanSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_subscriptions', 'yes'); $appVersion = $this->config->getAppValue($this->appName, 'installed_version', null); diff --git a/lib/Controller/ViewController.php b/lib/Controller/ViewController.php index c45d18c4..d0343e4d 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($this->appName, 'allow_subscribe_link', 'yes') === 'yes'; + $canSubscribeLink = $this->config->getAppValue('dav', 'allow_calendar_subscriptions', 'yes') === 'yes'; $talkEnabled = $this->appManager->isEnabledForUser('spreed'); $talkApiVersion = version_compare($this->appManager->getAppVersion('spreed'), '12.0.0', '>=') ? 'v4' : 'v1'; |