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

@ -9,10 +9,13 @@
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
{
/* $Id$ */
// Delete all records for a user
if (floor($PHP_VERSION ) == 4)
{
global $accountid;
}
$contacts = CreateObject('phpgwapi.contacts');
$contacts->delete_all($accountid);
}
?>