diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-10 10:52:35 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-10 10:52:35 +0200 |
commit | 1afeb5cd127ab070a0257ddbc61507281e1f68a1 (patch) | |
tree | 2dbe13140648e298cce2fd7422aa4f33954e4f85 /apps/calendar | |
parent | cbb36829e634c7f536bbc766d793d02a26e503db (diff) | |
download | nextcloud-server-1afeb5cd127ab070a0257ddbc61507281e1f68a1.tar.gz nextcloud-server-1afeb5cd127ab070a0257ddbc61507281e1f68a1.zip |
bug fixes in calendar lib
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/lib/calendar.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php index c1223b5b3ab..137047214a9 100644 --- a/apps/calendar/lib/calendar.php +++ b/apps/calendar/lib/calendar.php @@ -211,7 +211,7 @@ class OC_Calendar_Calendar{ } public static function editCalendarObject($id, $data){ - $oldobject = self::findCard($id); + $oldobject = self::findCalendarObject($id); $object = Sabre_VObject_Reader::read($data); list($type,$startdate,$enddate,$summary,$repeating,$uid) = self::extractData($object); @@ -225,7 +225,7 @@ class OC_Calendar_Calendar{ } public static function editCalendarObjectFromDAVData($cid,$uri,$data){ - $oldobject = self::findCardWhereDAVDataIs($cid,$uri); + $oldobject = self::findCalendarObjectWhereDAVDataIs($cid,$uri); $object = Sabre_VObject_Reader::read($data); list($type,$startdate,$enddate,$summary,$repeating,$uid) = self::extractData($object); |