diff options
author | Brion Vibber <brion@pobox.com> | 2010-05-27 14:54:43 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-05-27 14:54:43 -0700 |
commit | 2f2fa100715f9c09b2b91a2d1afddacf7b7f16db (patch) | |
tree | 883a6642614484db322a3b6f17511c2ab5f46376 /plugins/OpenID/openid.php | |
parent | 87b8a89aa7b96e63586bdd3b1afb9d43355fd48b (diff) | |
parent | 2b318a3420fe3e979defc7eacfb1eb2d9321d807 (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
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); |