Mercurial > defr > drupal > core
diff modules/openid/openid.module @ 19:3edae6ecd6c6 6.9
Drupal 6.9
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:15:56 +0100 |
parents | fff6d4c8c043 |
children |
line wrap: on
line diff
--- a/modules/openid/openid.module Tue Dec 23 14:32:55 2008 +0100 +++ b/modules/openid/openid.module Thu Jan 15 10:15:56 2009 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: openid.module,v 1.19.2.3 2008/07/09 21:48:28 goba Exp $ +// $Id: openid.module,v 1.19.2.4 2009/01/14 21:36:16 goba Exp $ /** * @file @@ -319,9 +319,6 @@ } } } - if (!$services) { - module_invoke('system', 'check_http_request'); - } return $services; } @@ -353,13 +350,11 @@ $assoc_headers = array('Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8'); $assoc_result = drupal_http_request($op_endpoint, $assoc_headers, 'POST', $assoc_message); 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; } @@ -524,8 +519,5 @@ } } } - if (!$valid) { - module_invoke('system', 'check_http_request'); - } return $valid; }