mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
* Calendar: fix SQL error during purge caused by droped SyncML support
This commit is contained in:
parent
ad669ad334
commit
f13683fb4f
@ -2246,13 +2246,6 @@ ORDER BY cal_user_type, cal_usre_id
|
|||||||
{
|
{
|
||||||
$this->db->delete($table, array('cal_id'=>$row['cal_id']), __LINE__, __FILE__, 'calendar');
|
$this->db->delete($table, array('cal_id'=>$row['cal_id']), __LINE__, __FILE__, 'calendar');
|
||||||
}
|
}
|
||||||
// handle sync
|
|
||||||
$this->db->update('egw_api_content_history',array(
|
|
||||||
'sync_deleted' => time(),
|
|
||||||
),array(
|
|
||||||
'sync_appname' => 'calendar',
|
|
||||||
'sync_contentid' => $row['cal_id'], // sync_contentid is varchar(60)!
|
|
||||||
), __LINE__, __FILE__, 'calendar');
|
|
||||||
// handle links
|
// handle links
|
||||||
Link::unlink('', 'calendar', $row['cal_id']);
|
Link::unlink('', 'calendar', $row['cal_id']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user