You are here

function xmlrpc_server_server_error in Services 6

Same name and namespace in other branches
  1. 5 servers/xmlrpc_server/xmlrpc_server.module \xmlrpc_server_server_error()
  2. 6.2 servers/xmlrpc_server/xmlrpc_server.module \xmlrpc_server_server_error()
  3. 7 servers/xmlrpc_server/xmlrpc_server.module \xmlrpc_server_server_error()

File

servers/xmlrpc_server/xmlrpc_server.module, line 52
@author Services Dev Team

Code

function xmlrpc_server_server_error($message) {
  static $xmlrpcusererr;
  if (!is_array($message)) {
    $message = array(
      $message,
    );
  }
  $message = implode(' ', $message);
  return xmlrpc_error($xmlrpcusererr + 1, strip_tags($message));
}