Mercurial > defr > drupal > core
comparison includes/xmlrpc.inc @ 19:3edae6ecd6c6 6.9
Drupal 6.9
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:15:56 +0100 |
parents | 8b6c45761e01 |
children |
comparison
equal
deleted
inserted
replaced
18:f5131a9cd9e5 | 19:3edae6ecd6c6 |
---|---|
1 <?php | 1 <?php |
2 // $Id: xmlrpc.inc,v 1.47.2.4 2008/10/15 14:04:06 dries Exp $ | 2 // $Id: xmlrpc.inc,v 1.47.2.5 2009/01/14 21:36:16 goba Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * Drupal XML-RPC library. Based on the IXR - The Incutio XML-RPC Library - (c) Incutio Ltd 2002-2005 | 6 * Drupal XML-RPC library. Based on the IXR - The Incutio XML-RPC Library - (c) Incutio Ltd 2002-2005 |
7 * Version 1.7 (beta) - Simon Willison, 23rd May 2005 | 7 * Version 1.7 (beta) - Simon Willison, 23rd May 2005 |
347 if (isset($code)) { | 347 if (isset($code)) { |
348 $xmlrpc_error = new stdClass(); | 348 $xmlrpc_error = new stdClass(); |
349 $xmlrpc_error->is_error = TRUE; | 349 $xmlrpc_error->is_error = TRUE; |
350 $xmlrpc_error->code = $code; | 350 $xmlrpc_error->code = $code; |
351 $xmlrpc_error->message = $message; | 351 $xmlrpc_error->message = $message; |
352 module_invoke('system', 'check_http_request'); | |
353 } | 352 } |
354 elseif ($reset) { | 353 elseif ($reset) { |
355 $xmlrpc_error = NULL; | 354 $xmlrpc_error = NULL; |
356 } | 355 } |
357 return $xmlrpc_error; | 356 return $xmlrpc_error; |