diff --git a/inc/freebusy-functions.php b/inc/freebusy-functions.php index e2184b6f..7f84dab5 100644 --- a/inc/freebusy-functions.php +++ b/inc/freebusy-functions.php @@ -6,7 +6,7 @@ * a freebusy GET request. */ -include_once('iCalendar.php'); +include_once('vCalendar.php'); include_once('RRule-v2.php'); @@ -79,7 +79,7 @@ function get_freebusy( $path_match, $range_start, $range_end, $bin_privs = null } } - $freebusy = new iCalComponent(); + $freebusy = new vComponent(); $freebusy->SetType('VFREEBUSY'); $freebusy->AddProperty('DTSTAMP', date('Ymd\THis\Z')); $freebusy->AddProperty('DTSTART', $range_start->UTC());