From 73581badc5596a9fb57a757087100a15cab8e0c8 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 13 Nov 2002 03:30:15 +0000 Subject: [PATCH] Changed over to print_debug(). --- calendar/inc/class.socalendar_sql.inc.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/calendar/inc/class.socalendar_sql.inc.php b/calendar/inc/class.socalendar_sql.inc.php index b5e3c55006..ed425520c3 100755 --- a/calendar/inc/class.socalendar_sql.inc.php +++ b/calendar/inc/class.socalendar_sql.inc.php @@ -539,12 +539,10 @@ class socalendar_ extends socalendar__ $this->stream->query('DELETE FROM phpgw_cal_repeats WHERE cal_id='.$event['id'],__LINE__,__FILE__); } - if($this->debug) - { - echo ''."\n"; - } - + print_debug('Event Saved: ID #',$event['id']); + $this->stream->unlock(); + $GLOBALS['phpgw_info']['cal_new_event_id'] = $event['id']; return True; }