summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/CalendarRoot.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/CalendarRoot.php')
-rw-r--r--apps/dav/lib/CalDAV/CalendarRoot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarRoot.php b/apps/dav/lib/CalDAV/CalendarRoot.php
index ace8482d9c7..4dd3e9986f0 100644
--- a/apps/dav/lib/CalDAV/CalendarRoot.php
+++ b/apps/dav/lib/CalDAV/CalendarRoot.php
@@ -26,11 +26,11 @@
namespace OCA\DAV\CalDAV;
class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {
- function getChildForPrincipal(array $principal) {
+ public function getChildForPrincipal(array $principal) {
return new CalendarHome($this->caldavBackend, $principal);
}
- function getName() {
+ public function getName() {
if ($this->principalPrefix === 'principals/calendar-resources' ||
$this->principalPrefix === 'principals/calendar-rooms') {
$parts = explode('/', $this->principalPrefix);