summaryrefslogtreecommitdiff
path: root/modules/openid/openid.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-14 21:13:42 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-14 21:13:42 +0000
commit534287b1bc054a4141855ce472d3c400af7d6784 (patch)
tree92fcdb859045d4a81099be4cc3a7ec5d9bd617b0 /modules/openid/openid.module
parenta10731cedf6acb9acabaed2ad3c8fe6ce4816ae9 (diff)
downloadbrdo-534287b1bc054a4141855ce472d3c400af7d6784.tar.gz
brdo-534287b1bc054a4141855ce472d3c400af7d6784.tar.bz2
- Patch #245990 by pwolanin: further clean-up of the HTTP request status fail problem.
Diffstat (limited to 'modules/openid/openid.module')
-rw-r--r--modules/openid/openid.module8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module
index 26902fe9a..f7636ad29 100644
--- a/modules/openid/openid.module
+++ b/modules/openid/openid.module
@@ -316,9 +316,6 @@ function openid_discovery($claimed_id) {
}
}
}
- if (!$services) {
- module_invoke('system', 'check_http_request');
- }
return $services;
}
@@ -354,13 +351,11 @@ function openid_association($op_endpoint) {
);
$assoc_result = drupal_http_request($op_endpoint, $assoc_options);
if (isset($assoc_result->error)) {
- module_invoke('system', 'check_http_request');
return FALSE;
}
$assoc_response = _openid_parse_message($assoc_result->data);
if (isset($assoc_response['mode']) && $assoc_response['mode'] == 'error') {
- module_invoke('system', 'check_http_request');
return FALSE;
}
@@ -529,8 +524,5 @@ function openid_verify_assertion($op_endpoint, $response) {
}
}
}
- if (!$valid) {
- module_invoke('system', 'check_http_request');
- }
return $valid;
}