mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-15 01:39:34 +01:00
setting hook-values as GUI
This commit is contained in:
parent
0164a09b04
commit
02443f09ff
@ -100,6 +100,8 @@ class admin_cmd_edit_group extends admin_cmd
|
||||
//_debug_array($data);
|
||||
throw new egw_exception_db(lang("Error saving account!"),11);
|
||||
}
|
||||
$data['account_name'] = $data['account_lid']; // also set deprecated name
|
||||
if ($update) $data['old_name'] = $old['account_lid']; // make old name available for hooks
|
||||
$GLOBALS['hook_values'] =& $data;
|
||||
$GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array(
|
||||
'location' => $this->account ? 'editgroup' : 'addgroup'
|
||||
|
Loading…
Reference in New Issue
Block a user