mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
removed columns from DELETE statement
This commit is contained in:
parent
75b25bb796
commit
419516c011
@ -7,7 +7,7 @@
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @author Christian Binder <christian-AT-jaytraxx.de>
|
||||
* @author Joerg Lehrke <jlehrke@noc.de>
|
||||
* @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
|
||||
|
Loading…
Reference in New Issue
Block a user