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>
remotes/origin/stable4
Florian Pritz 13 years ago
parent 87627c7a50
commit 9d2379742b
  1. 1
      apps/calendar/lib/object.php

@ -194,6 +194,7 @@ class OC_Calendar_Object{
public static function deleteFromDAVData($cid,$uri){
$stmt = OC_DB::prepare( 'DELETE FROM *PREFIX*calendar_objects WHERE calendarid = ? AND uri=?' );
$stmt->execute(array($cid,$uri));
OC_Calendar_Calendar::touchCalendar($cid);
return true;
}

Loading…
Cancel
Save