Renamed deleteaccount

This commit is contained in:
zone 2001-07-02 21:18:03 +00:00
parent 409a7766b9
commit 678b3e68ac

View File

@ -13,16 +13,16 @@
global $phpgw; global $phpgw;
global $account_id; global $account_id;
echo "HERE!!!";
/* NOTE: This is untested */ /* NOTE: This is untested */
/* WIP: it should get all files owned by $account_id, not just in /home/account_id */ /* 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 */ /* Should also be capable of transfering files to another user */
/*
$phpgw->vfs->working_id = $account_id; $phpgw->vfs->working_id = $account_id;
$ls_array = $phpgw->vfs->ls ($phpgw->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE)); $ls_array = $phpgw->vfs->ls ($phpgw->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE));
while (list ($num, $entry) = each ($ls_array)) while (list ($num, $entry) = each ($ls_array))
{ {
$phpgw->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE)); $phpgw->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE));
} }
*/
?> ?>