mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Freebusy should use vComponent rather than the deprecated iCalComponent
This commit is contained in:
parent
8b52d69e1e
commit
f074f214d0
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user