egroupware_official/calendar/inc/hook_deleteaccount.inc.php

16 lines
861 B
PHP
Raw Normal View History

<?php
/**************************************************************************\
* eGroupWare *
* http://www.egroupware.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$ */
$socal =& CreateObject('calendar.socal');
$socal->change_delete_user((int)$_POST['account_id'],(int)$_POST['new_owner']);
unset($socal);