[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare * 4 * http://www.egroupware.org * 5 * -------------------------------------------- * 6 * This program is free software; you can redistribute it and/or modify it * 7 * under the terms of the GNU General Public License as published by the * 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 * option) any later version. * 10 \**************************************************************************/ 11 /* $Id: hook_deleteaccount.inc.php 19410 2005-10-14 10:41:15Z ralfbecker $ */ 12 /* 13 14 global $account_id; 15 */ 16 /* NOTE: This is untested */ 17 /* WIP: it should get all files owned by $account_id, not just in /home/account_id */ 18 /* Should also be capable of transfering files to another user */ 19 20 /* 21 $GLOBALS['egw']->vfs->working_id = $account_id; 22 $ls_array = $GLOBALS['egw']->vfs->ls ($GLOBALS['egw']->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE)); 23 while (list ($num, $entry) = each ($ls_array)) 24 { 25 $GLOBALS['egw']->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE)); 26 } 27 */ 28 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |