setting hook-values as GUI

This commit is contained in:
Ralf Becker 2014-06-04 09:30:27 +00:00
parent 0164a09b04
commit 02443f09ff

View File

@ -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'