summaryrefslogtreecommitdiff
path: root/includes/xmlrpc.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-20 08:57:55 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-20 08:57:55 +0000
commite6a4b82e6e40a2346fd32eb63b0f8a47bf670257 (patch)
tree5de568c32cd176bbaffe58a7809ae76bf421c6f3 /includes/xmlrpc.inc
parentd8bd6cf97c7afce67b0b99817ccc139c65bc1c63 (diff)
downloadbrdo-e6a4b82e6e40a2346fd32eb63b0f8a47bf670257.tar.gz
brdo-e6a4b82e6e40a2346fd32eb63b0f8a47bf670257.tar.bz2
#196535 by sun, chx, dww: check whether Drupal can issue HTTP requests at all, so we know that this is the cause of problems, not the remote host not responding.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r--includes/xmlrpc.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index ebd19c461..6dd79b8c3 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -350,6 +350,7 @@ function xmlrpc_error($code = NULL, $message = NULL) {
$xmlrpc_error->is_error = TRUE;
$xmlrpc_error->code = $code;
$xmlrpc_error->message = $message;
+ module_invoke('system', 'check_http_request');
}
return $xmlrpc_error;
}