mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
New hook for admin/deleteaccount.php
This commit is contained in:
parent
f57e5d0c3a
commit
0319a6e05b
18
addressbook/inc/hook_deleteaccount.inc.php
Normal file
18
addressbook/inc/hook_deleteaccount.inc.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
/* $Id$ */
|
||||
{
|
||||
// Delete all records for a user
|
||||
$contacts = CreateObject('phpgwapi.contacts');
|
||||
$contacts->delete_all($accountid);
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user