aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/caldav/caldavbackend.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-03 15:43:45 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-18 11:48:34 +0100
commitc9187cc82084e5b140f52cbaefa7d71c70f989a0 (patch)
tree20418d39a67ea01c4b31e183fd1334b88d442d66 /apps/dav/lib/caldav/caldavbackend.php
parent73d46afc3c5ef237cc8a5431aa1bef4686a7521b (diff)
downloadnextcloud-server-c9187cc82084e5b140f52cbaefa7d71c70f989a0.tar.gz
nextcloud-server-c9187cc82084e5b140f52cbaefa7d71c70f989a0.zip
Sync a users contacts birthday to the users birthday calendar
Diffstat (limited to 'apps/dav/lib/caldav/caldavbackend.php')
-rw-r--r--apps/dav/lib/caldav/caldavbackend.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/lib/caldav/caldavbackend.php b/apps/dav/lib/caldav/caldavbackend.php
index 775612487f9..c674876598d 100644
--- a/apps/dav/lib/caldav/caldavbackend.php
+++ b/apps/dav/lib/caldav/caldavbackend.php
@@ -235,6 +235,11 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
return array_values($calendars);
}
+ /**
+ * @param string $principal
+ * @param string $uri
+ * @return array|null
+ */
public function getCalendarByUri($principal, $uri) {
$fields = array_values($this->propertyMap);
$fields[] = 'id';
@@ -1367,4 +1372,5 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
public function applyShareAcl($resourceId, $acl) {
return $this->sharingBackend->applyShareAcl($resourceId, $acl);
}
+
}