summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-10 10:52:35 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-10 10:52:35 +0200
commit1afeb5cd127ab070a0257ddbc61507281e1f68a1 (patch)
tree2dbe13140648e298cce2fd7422aa4f33954e4f85 /apps/calendar
parentcbb36829e634c7f536bbc766d793d02a26e503db (diff)
downloadnextcloud-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.php4
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);