Index: class.boaccounts.inc.php =================================================================== RCS file: /var/cvs/phpgroupware/admin/inc/class.boaccounts.inc.php,v retrieving revision 1.22.2.7.2.17 diff -u -r1.22.2.7.2.17 class.boaccounts.inc.php --- class.boaccounts.inc.php 11 Mar 2004 00:37:54 -0000 1.22.2.7.2.17 +++ class.boaccounts.inc.php 25 Mar 2004 14:32:10 -0000 @@ -140,6 +140,9 @@ // make this information also in hook available $lid = $GLOBALS['phpgw']->accounts->id2name($account_id); + $GLOBALS['hook_values']['account_id'] = $account_id; + $GLOBALS['hook_values']['account_lid'] = $lid; + $db = $GLOBALS['phpgw']->db; $db->query('SELECT app_name,app_order FROM phpgw_applications WHERE app_enabled!=0 ORDER BY app_order',__LINE__,__FILE__); if($db->num_rows()) @@ -155,13 +158,11 @@ } } - $GLOBALS['hook_values']['account_id'] = $account_id; - $GLOBALS['hook_values']['account_lid'] = $lid; $GLOBALS['phpgw']->hooks->single('deleteaccount','preferences'); $GLOBALS['phpgw']->hooks->single('deleteaccount','admin'); - $GLOBALS['phpgw']->hooks->process('deleteaccount'); + //$GLOBALS['phpgw']->hooks->process('deleteaccount'); $basedir = $GLOBALS['phpgw_info']['server']['files_dir'] . SEP . 'users' . SEP;