aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Settings
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-10-20 13:29:59 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-11-09 17:12:06 +0100
commit8b22bfea4f1609605c3cebd40a50ed7a77929d3f (patch)
tree92908a37e88227f798938f4b691b7346825b7314 /apps/dav/lib/Settings
parentc7e5bc0f9ab6f58bf9a47dd0c3795e1183419652 (diff)
downloadnextcloud-server-8b22bfea4f1609605c3cebd40a50ed7a77929d3f.tar.gz
nextcloud-server-8b22bfea4f1609605c3cebd40a50ed7a77929d3f.zip
Add admin checkbox to disable birthday calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Settings')
-rw-r--r--apps/dav/lib/Settings/CalDAVSettings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Settings/CalDAVSettings.php b/apps/dav/lib/Settings/CalDAVSettings.php
index 1c85d19432c..a419afa1c55 100644
--- a/apps/dav/lib/Settings/CalDAVSettings.php
+++ b/apps/dav/lib/Settings/CalDAVSettings.php
@@ -47,6 +47,7 @@ class CalDAVSettings implements ISettings {
public function getForm() {
$parameters = [
'send_invitations' => $this->config->getAppValue('dav', 'sendInvitations', 'yes'),
+ 'generate_birthday_calendar' => $this->config->getAppValue('dav', 'generateBirthdayCalendar', 'yes'),
];
return new TemplateResponse('dav', 'settings-admin-caldav', $parameters);