summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
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/appinfo
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/appinfo')
-rw-r--r--apps/dav/appinfo/routes.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php
new file mode 100644
index 00000000000..e6785bfd4e6
--- /dev/null
+++ b/apps/dav/appinfo/routes.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * @copyright 2017, Georg Ehrke <oc.list@georgehrke.com>
+ *
+ * @author Georg Ehrke <oc.list@georgehrke.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+return [
+ 'routes' => [
+ ['name' => 'birthday_calendar#enable', 'url' => '/enableBirthdayCalendar', 'verb' => 'POST'],
+ ['name' => 'birthday_calendar#disable', 'url' => '/disableBirthdayCalendar', 'verb' => 'POST'],
+ ]
+];