forked from extern/egroupware
7f9df0d051
- update version and dependencies for 1.6 - file_access method for attachments
22 lines
532 B
PHP
22 lines
532 B
PHP
<?php
|
|
/**
|
|
* InfoLog - delete account hook
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
* @package infolog
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @version $Id$
|
|
*/
|
|
|
|
// Delete all records for a user
|
|
if((int)$GLOBALS['hook_values']['account_id'] > 0)
|
|
{
|
|
$grants = array();
|
|
$info =& new infolog_so($grants);
|
|
|
|
$info->change_delete_owner((int)$GLOBALS['hook_values']['account_id'],(int)$_POST['new_owner']);
|
|
|
|
unset($info);
|
|
}
|