setting hook-values as GUI

This commit is contained in:
Ralf Becker 2014-06-04 09:33:10 +00:00
parent 02443f09ff
commit ca72942106

View File

@ -101,7 +101,7 @@ class admin_cmd_edit_group extends admin_cmd
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
if ($this->account) $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'