diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-20 14:41:17 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-07 20:40:58 +0100 |
commit | c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b (patch) | |
tree | 14d2a1f3061f5e8236bdd106c9b0dea9bbbe9c4d /apps/calendar/ajax/events.php | |
parent | b9e6f5e42d54fc91205f03f4b19bbf313278f476 (diff) | |
download | nextcloud-server-c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b.tar.gz nextcloud-server-c67ac46b6c3b333c7f16cbdc8df7b9a6b4f3fb1b.zip |
Use a proxy class to interface with Sabre_VObject classes
Diffstat (limited to 'apps/calendar/ajax/events.php')
-rw-r--r-- | 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 1ef6bd30594..1430432b8a3 100644 --- a/apps/calendar/ajax/events.php +++ b/apps/calendar/ajax/events.php @@ -33,7 +33,7 @@ $events = OC_Calendar_Object::allInPeriod($_GET['calendar_id'], $start, $end); $user_timezone = OC_Preferences::getValue(OC_USER::getUser(), 'calendar', 'timezone', date_default_timezone_get()); $return = array(); foreach($events as $event){ - $object = OC_Calendar_Object::parse($event['calendardata']); + $object = OC_VObject::parse($event['calendardata']); $vevent = $object->VEVENT; $dtstart = $vevent->DTSTART; $dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent); |