source: branches/2.2/filemanager/inc/hook_deleteaccount.inc.php @ 3019

Revision 3019, 1.3 KB checked in by amuller, 14 years ago (diff)

Ticket #1135 - Corrigindo CSS e adicionando filemanager

Line 
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 13525 2004-01-27 18:19:23Z reinerj $ */
12        /*
13        global $phpgw;
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        $phpgw->vfs->working_id = $account_id;
22        $ls_array = $phpgw->vfs->ls ($phpgw->vfs->fakebase . "/" . $account_id, array (RELATIVE_NONE));
23        while (list ($num, $entry) = each ($ls_array))
24        {
25                $phpgw->vfs->rm ($entry["dir"] . "/" . $entry["name"], array (RELATIVE_NONE));
26        }
27*/
28?>
Note: See TracBrowser for help on using the repository browser.