diff options
author | tailor <cygnus@janrain.com> | 2006-01-26 22:06:24 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-01-26 22:06:24 +0000 |
commit | b9b94ce231649ed655f054e228d86b8bd57011ca (patch) | |
tree | 79a0177f5de1cdbf8b9b87fdb51461d78c350b4c | |
parent | a5207076f5ea67febef7488243dec83d7bdc3d00 (diff) | |
download | php-openid-b9b94ce231649ed655f054e228d86b8bd57011ca.zip php-openid-b9b94ce231649ed655f054e228d86b8bd57011ca.tar.gz php-openid-b9b94ce231649ed655f054e228d86b8bd57011ca.tar.bz2 |
[project @ Silenced warnings about no HTTP return codes in fetcher code.]
-rw-r--r-- | Auth/OpenID/Consumer/Consumer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Auth/OpenID/Consumer/Consumer.php b/Auth/OpenID/Consumer/Consumer.php index 4945cc9..d9170a9 100644 --- a/Auth/OpenID/Consumer/Consumer.php +++ b/Auth/OpenID/Consumer/Consumer.php @@ -645,7 +645,7 @@ class Auth_OpenID_Consumer { $check_args['openid.mode'] = 'check_authentication'; $post_data = Auth_OpenID_http_build_query($check_args); - $ret = $this->fetcher->post($server_url, $post_data); + $ret = @$this->fetcher->post($server_url, $post_data); if ($ret === null) { return Auth_OpenID_FAILURE; } @@ -776,7 +776,7 @@ class Auth_OpenID_Consumer { function _findIdentityInfo($identity_url) { $url = Auth_OpenID_normalizeUrl($identity_url); - $ret = $this->fetcher->get($url); + $ret = @$this->fetcher->get($url); if ($ret === null) { return array(Auth_OpenID_HTTP_FAILURE, null); } @@ -826,7 +826,7 @@ class Auth_OpenID_Consumer { */ function _fetchAssociation($dh, $server_url, $body) { - $ret = $this->fetcher->post($server_url, $body); + $ret = @$this->fetcher->post($server_url, $body); if ($ret === null) { $fmt = 'Getting association: failed to fetch URL: %s'; Auth_OpenID_log(sprintf($fmt, $server_url)); |