* Calendar: fix SQL error when automatic purge of older events is configured

This commit is contained in:
Ralf Becker 2017-06-12 13:41:04 +02:00
parent cd4c3ffbbc
commit 9f28be8f75

View File

@ -2245,7 +2245,7 @@ ORDER BY cal_user_type, cal_usre_id
),array( ),array(
'sync_appname' => 'calendar', 'sync_appname' => 'calendar',
'sync_contentid' => $row['cal_id'], // sync_contentid is varchar(60)! 'sync_contentid' => $row['cal_id'], // sync_contentid is varchar(60)!
), __LINE__, __FILE__); ), __LINE__, __FILE__, 'calendar');
// handle links // handle links
Link::unlink('', 'calendar', $row['cal_id']); Link::unlink('', 'calendar', $row['cal_id']);
} }