summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Calendar.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-09 18:51:14 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-09 21:20:59 +0200
commitc99bdc9eb4c2b003fcddf826b0f1ee3383a30714 (patch)
tree774ab6482e6fb28bb1bc18646155403d9ab486ba /apps/dav/lib/CalDAV/Calendar.php
parent16091f4424b44d9d8ab6076f1cf9218b1d25da4d (diff)
downloadnextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.tar.gz
nextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.zip
don't remove owner property for public calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/Calendar.php')
-rw-r--r--apps/dav/lib/CalDAV/Calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php
index d5e41c3c8c5..d1eff1aeaa3 100644
--- a/apps/dav/lib/CalDAV/Calendar.php
+++ b/apps/dav/lib/CalDAV/Calendar.php
@@ -282,7 +282,7 @@ class Calendar extends \Sabre\CalDAV\Calendar implements IShareable {
return isset($this->calendarInfo['{http://owncloud.org/ns}public']);
}
- private function isShared() {
+ protected function isShared() {
if (!isset($this->calendarInfo['{http://owncloud.org/ns}owner-principal'])) {
return false;
}