Rename of hook_deleteaccount.inc.php to hook_admin_deleteaccount.inc.php

This commit is contained in:
skeeter 2001-03-30 02:14:17 +00:00
parent f2329fc7bc
commit 22e093dc07

View File

@ -10,9 +10,12 @@
* option) any later version. *
\**************************************************************************/
/* $Id$ */
{
// Delete all records for a user
if (floor($PHP_VERSION ) == 4)
{
global $accountid;
}
$contacts = CreateObject('phpgwapi.contacts');
$contacts->delete_all($accountid);
}
?>