apps/calendar: update ctag after deleteFromDAVData
Without this clients won't see the update because they compare ctags before fetching the actual calendar to reduce traffic. Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
87627c7a50
commit
9d2379742b
|
@ -194,6 +194,7 @@ class OC_Calendar_Object{
|
||||||
public static function deleteFromDAVData($cid,$uri){
|
public static function deleteFromDAVData($cid,$uri){
|
||||||
$stmt = OC_DB::prepare( 'DELETE FROM *PREFIX*calendar_objects WHERE calendarid = ? AND uri=?' );
|
$stmt = OC_DB::prepare( 'DELETE FROM *PREFIX*calendar_objects WHERE calendarid = ? AND uri=?' );
|
||||||
$stmt->execute(array($cid,$uri));
|
$stmt->execute(array($cid,$uri));
|
||||||
|
OC_Calendar_Calendar::touchCalendar($cid);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue