From f074f214d07a6addece723e2c4a2dfc291a3a83a Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 24 Sep 2013 15:43:00 +0200 Subject: [PATCH] Freebusy should use vComponent rather than the deprecated iCalComponent --- inc/freebusy-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());