- $msgs = do_hook_function('change_password_dochange',
- array (
- 'username' => $username,
- 'curpw' => $curpw,
- 'newpw' => $newpw
+ $msgs = do_hook('change_password_dochange',
+ $temp=array (
+ 'username' => &$username,
+ 'curpw' => &$curpw,
+ 'newpw' => &$newpw