From 678b3e68ace82a6233a7573ed53776253ead0d2f Mon Sep 17 00:00:00 2001 From: zone Date: Mon, 2 Jul 2001 21:18:03 +0000 Subject: [PATCH] Renamed deleteaccount --- ...admin_deleteaccount.inc.php => hook_deleteaccount.inc.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename filemanager/inc/{hook_admin_deleteaccount.inc.php => hook_deleteaccount.inc.php} (98%) 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)); } +*/ ?>