diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-02-24 22:20:40 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-02-24 22:20:40 +0100 |
commit | 1d1dfcbc1a528314b39322d0b8145e05072cd5ff (patch) | |
tree | a504e3652ac74638ad0fe4cb5acef95fd7a12206 /apps/calendar/ajax/events.php | |
parent | e082d473bb856bdaf48290199bf5d2f1fb4a435d (diff) | |
download | nextcloud-server-1d1dfcbc1a528314b39322d0b8145e05072cd5ff.tar.gz nextcloud-server-1d1dfcbc1a528314b39322d0b8145e05072cd5ff.zip |
replace Sabre_VObject_Element_DateTime with Sabre_VObject_Property_DateTime
Diffstat (limited to 'apps/calendar/ajax/events.php')
-rwxr-xr-x | apps/calendar/ajax/events.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php index 1436f634316..6ea556a7abf 100755 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -47,7 +47,7 @@ foreach($events as $event){ $dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent); $start_dt = $dtstart->getDateTime(); $end_dt = $dtend->getDateTime(); - if ($dtstart->getDateType() == Sabre_VObject_Element_DateTime::DATE){ + if ($dtstart->getDateType() == Sabre_VObject_Property_DateTime::DATE){ $return_event['allDay'] = true; }else{ $return_event['allDay'] = false; |