diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 9c91638502..d52bfa746e 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -7,7 +7,7 @@ * @author Ralf Becker * @author Christian Binder * @author Joerg Lehrke - * @copyright (c) 2005-9 by RalfBecker-At-outdoor-training.de + * @copyright (c) 2005-10 by RalfBecker-At-outdoor-training.de * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @version $Id$ */ @@ -1513,7 +1513,7 @@ ORDER BY cal_user_type, cal_usre_id function purge($date) { // Start with egw_cal, it's the easiest - $sql = "DELETE egw_cal.* FROM egw_cal + $sql = "DELETE FROM egw_cal LEFT JOIN egw_cal_repeats ON egw_cal_repeats.cal_id = egw_cal.cal_id JOIN egw_cal_dates ON