This commit is contained in:
Ralf Becker 2015-08-17 15:30:39 +00:00
parent e621060b94
commit 89126d9ec9

View File

@ -2583,7 +2583,7 @@ function calendar_upgrade14_3()
$email.'='.$GLOBALS['egw_setup']->db->quote($row['email']),
), __LINE__, __FILE__, 'ORDER BY cal_status') 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'))));
}
}