mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix PHP Warning: Missing argument 3&4 for EGroupware\\Api\\Db::delete() in calendar/setup/tables_update.inc.php line 2590
This commit is contained in:
parent
7ce511cfc1
commit
3195ab7e17
@ -2587,7 +2587,9 @@ function calendar_upgrade14_3()
|
||||
), __LINE__, __FILE__, false, 'ORDER BY cal_status', 'calendar') as $user) // order A, T, U, X
|
||||
{
|
||||
if (strpos($user['email'], '@') !== false && !$n++) continue;
|
||||
$GLOBALS['egw_setup']->db->delete('egw_cal_user', array_intersect_key($user, array_flip(array('cal_id','cal_recur_date','cal_user_type','cal_user_id','cal_status'))));
|
||||
$GLOBALS['egw_setup']->db->delete('egw_cal_user',
|
||||
array_intersect_key($user, array_flip(array('cal_id','cal_recur_date','cal_user_type','cal_user_id','cal_status'))),
|
||||
__LINE__, __FILE__, 'calendar');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user