File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ public function getPublicCalendars() {
535535 '{ ' . Plugin::NS_CALDAV . '}supported-calendar-component-set ' => new SupportedCalendarComponentSet ($ components ),
536536 '{ ' . Plugin::NS_CALDAV . '}schedule-calendar-transp ' => new ScheduleCalendarTransp ($ row ['transparent ' ]?'transparent ' :'opaque ' ),
537537 '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}owner-principal ' => $ this ->convertPrincipal ($ row ['principaluri ' ], $ this ->legacyEndpoint ),
538- '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}read-only ' => ( int ) $ row [ ' access ' ] === Backend:: ACCESS_READ ,
538+ '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}read-only ' => true ,
539539 '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}public ' => (int )$ row ['access ' ] === self ::ACCESS_PUBLIC ,
540540 ];
541541
@@ -600,7 +600,7 @@ public function getPublicCalendar($uri) {
600600 '{ ' . Plugin::NS_CALDAV . '}supported-calendar-component-set ' => new SupportedCalendarComponentSet ($ components ),
601601 '{ ' . Plugin::NS_CALDAV . '}schedule-calendar-transp ' => new ScheduleCalendarTransp ($ row ['transparent ' ]?'transparent ' :'opaque ' ),
602602 '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}owner-principal ' => $ this ->convertPrincipal ($ row ['principaluri ' ], !$ this ->legacyEndpoint ),
603- '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}read-only ' => ( int ) $ row [ ' access ' ] === Backend:: ACCESS_READ ,
603+ '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}read-only ' => true ,
604604 '{ ' . \OCA \DAV \DAV \Sharing \Plugin::NS_OWNCLOUD . '}public ' => (int )$ row ['access ' ] === self ::ACCESS_PUBLIC ,
605605 ];
606606
You can’t perform that action at this time.
0 commit comments