mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
Rename of hook_deleteaccount.inc.php to hook_admin_deleteaccount.inc.php
This commit is contained in:
parent
f2329fc7bc
commit
22e093dc07
9
addressbook/inc/hook_deleteaccount.inc.php → addressbook/inc/hook_admin_deleteaccount.inc.php
Normal file → Executable file
9
addressbook/inc/hook_deleteaccount.inc.php → addressbook/inc/hook_admin_deleteaccount.inc.php
Normal file → Executable file
@ -9,10 +9,13 @@
|
|||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
{
|
|
||||||
// Delete all records for a user
|
// Delete all records for a user
|
||||||
|
if (floor($PHP_VERSION ) == 4)
|
||||||
|
{
|
||||||
|
global $accountid;
|
||||||
|
}
|
||||||
|
|
||||||
$contacts = CreateObject('phpgwapi.contacts');
|
$contacts = CreateObject('phpgwapi.contacts');
|
||||||
$contacts->delete_all($accountid);
|
$contacts->delete_all($accountid);
|
||||||
}
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user