From ab9865803d8042ac6855409b2050caf513cad308 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 28 Oct 2014 16:29:08 +0000 Subject: [PATCH] also update etag and modified, to change ctag and sync-tags --- calendar/setup/tables_update.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/setup/tables_update.inc.php b/calendar/setup/tables_update.inc.php index 016a734ebd..ed3b17c47e 100644 --- a/calendar/setup/tables_update.inc.php +++ b/calendar/setup/tables_update.inc.php @@ -2310,8 +2310,8 @@ function calendar_upgrade14_1() { $GLOBALS['egw_setup']->db->query( "UPDATE egw_cal -SET cal_reference=0 -WHERE cal_reference != 0 AND cal_id IN (SELECT cal_id FROM egw_cal_repeats)", __LINE__, __FILE__); +SET cal_reference=0,cal_etag=cal_etag+1,cal_modifier=0,cal_modified=".time(). +"WHERE cal_reference != 0 AND cal_id IN (SELECT cal_id FROM egw_cal_repeats)", __LINE__, __FILE__); foreach($GLOBALS['egw_setup']->db->query( "SELECT DISTINCT master.cal_id,egw_cal_user.cal_user_type,egw_cal_user.cal_user_id,'E' AS cal_status