mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Renamed deleteaccount
This commit is contained in:
parent
409a7766b9
commit
678b3e68ac
@ -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));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user