mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
If we have full permissions to see this, we shouldn't care what type
it is that we are returning. The iCalendar class has a better interface for this now, so we will use that.
This commit is contained in:
parent
b571c3b867
commit
63d5a9886d
@ -65,8 +65,10 @@ else if ( $qry->rows > 1 ) {
|
||||
// Otherwise we hide the alarms (if configured to)
|
||||
$response .= $ical->Render(false, $event->caldav_type, $ical->DefaultPropertyList() );
|
||||
}
|
||||
} else
|
||||
$response .= $ical->JustThisBitPlease("VEVENT");
|
||||
}
|
||||
else {
|
||||
$response .= $ical->Render(false);
|
||||
}
|
||||
}
|
||||
foreach( $timezones AS $tzid => $vtimezone ) {
|
||||
$response .= $vtimezone;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user