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:
Andrew McMillan 2007-10-18 17:16:37 +13:00
parent b571c3b867
commit 63d5a9886d

View File

@ -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;