forked from extern/egroupware
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
|
), __LINE__, __FILE__, false, 'ORDER BY cal_status', 'calendar') as $user) // order A, T, U, X
|
||||||
{
|
{
|
||||||
if (strpos($user['email'], '@') !== false && !$n++) continue;
|
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