forked from extern/egroupware
minor correct to the hooks
This commit is contained in:
parent
d467a7316d
commit
2f75040773
@ -151,7 +151,7 @@
|
||||
$GLOBALS['phpgw']->hooks->single('deleteaccount','preferences');
|
||||
$GLOBALS['phpgw']->hooks->single('deleteaccount','admin');
|
||||
|
||||
$GLOBALS['hook_values']['account_id'] = $lid;
|
||||
$GLOBALS['hook_values']['account_id'] = $account_id;
|
||||
$GLOBALS['phpgw']->hooks->process('deleteaccount');
|
||||
|
||||
$basedir = $GLOBALS['phpgw_info']['server']['files_dir'] . SEP . 'users' . SEP;
|
||||
@ -327,7 +327,8 @@
|
||||
if (!$errors = $this->validate_user($userData))
|
||||
{
|
||||
$this->so->add_user($userData);
|
||||
$GLOBALS['hook_values']['account_id'] = $account_id;
|
||||
$GLOBALS['hook_values']['account_lid'] = $userData['account_lid'];
|
||||
$GLOBALS['hook_values']['account_id'] = $userData['account_id'];
|
||||
$GLOBALS['hook_values']['new_passwd'] = $userData['account_passwd'];
|
||||
$GLOBALS['phpgw']->hooks->process('addaccount');
|
||||
ExecMethod('admin.uiaccounts.list_users');
|
||||
|
Loading…
Reference in New Issue
Block a user