diff options
Diffstat (limited to 'plugins/OpenID/openid.php')
-rw-r--r-- | plugins/OpenID/openid.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php index 5ee9343d2..574ecca72 100644 --- a/plugins/OpenID/openid.php +++ b/plugins/OpenID/openid.php @@ -221,11 +221,14 @@ function _oid_print_instructions() 'OpenID provider.')); } -# update a user from sreg parameters - -function oid_update_user(&$user, &$sreg) +/** + * Update a user from sreg parameters + * @param User $user + * @param array $sreg fields from OpenID sreg response + * @access private + */ +function oid_update_user($user, $sreg) { - $profile = $user->getProfile(); $orig_profile = clone($profile); |