Let the VCalendar class handle how to get the UID from the calendar.

This commit is contained in:
Andrew McMillan 2012-07-29 23:15:21 +12:00
parent c28759364f
commit 873cc272ba

View File

@ -52,7 +52,7 @@ class WritableCollection extends DAVResource {
$resource_type = $first->GetType();
}
$uid = $first->GetPValue('UID');
$uid = $vcal->GetUID();
if ( empty($segment_name) ) {
$segment_name = $uid.'.ics';
}