From 419516c0119de75cfc9dcc31adccfa8b374e4cd4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 2 Jul 2010 06:00:25 +0000 Subject: [PATCH] removed columns from DELETE statement --- calendar/inc/class.calendar_so.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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