forked from extern/egroupware
Changed to .
This commit is contained in:
parent
69ef94cd17
commit
3313bb0a39
@ -13,9 +13,9 @@
|
||||
// Delete all records for a user
|
||||
if (floor($PHP_VERSION ) == 4)
|
||||
{
|
||||
global $accountid;
|
||||
global $account_id;
|
||||
}
|
||||
|
||||
$contacts = CreateObject('phpgwapi.contacts');
|
||||
$contacts->delete_all($accountid);
|
||||
$contacts->delete_all($account_id);
|
||||
?>
|
||||
|
@ -14,10 +14,10 @@
|
||||
// Delete all records for a user
|
||||
if (floor($PHP_VERSION ) == 4)
|
||||
{
|
||||
global $accountid;
|
||||
global $account_id;
|
||||
}
|
||||
|
||||
$calendar = CreateObject('calendar.calendar');
|
||||
$cal_stream = $calendar->open('INBOX',$accountid,'');
|
||||
$calendar->delete_calendar($cal_stream,$accountid);
|
||||
$cal_stream = $calendar->open('INBOX',$account_id,'');
|
||||
$calendar->delete_calendar($cal_stream,$account_id);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user