diff --git a/filemanager/inc/hook_admin_deleteaccount.inc.php b/filemanager/inc/hook_deleteaccount.inc.php similarity index 98% rename from filemanager/inc/hook_admin_deleteaccount.inc.php rename to filemanager/inc/hook_deleteaccount.inc.php index 43977df430..02cf38287a 100755 --- a/filemanager/inc/hook_admin_deleteaccount.inc.php +++ b/filemanager/inc/hook_deleteaccount.inc.php @@ -13,16 +13,16 @@ global $phpgw; global $account_id; - echo "HERE!!!"; - /* NOTE: This is untested */ /* WIP: it should get all files owned by $account_id, not just in /home/account_id */ /* Should also be capable of transfering files to another user */ +/* $phpgw->vfs->working_id = $account_id; $ls_array = $phpgw->vfs->ls ($phpgw->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE)); while (list ($num, $entry) = each ($ls_array)) { $phpgw->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE)); } +*/ ?>