Fix for bug #427656 - Delete of user.

This commit is contained in:
skeeter 2001-05-27 13:39:04 +00:00
parent 7d281d7173
commit f70a82232f

View File

@ -18,11 +18,11 @@
} }
$calendar = CreateObject('calendar.calendar'); $calendar = CreateObject('calendar.calendar');
$cal_stream = $calendar->open('INBOX',$account_id,''); $calendar->open('INBOX',$account_id,'');
if(intval($new_owner)==0) if(intval($new_owner)==0)
{ {
$calendar->delete_calendar($cal_stream,intval($account_id)); $calendar->delete_calendar(intval($account_id));
} }
else else
{ {