You are here

function og_xmlrpc_error in Organic groups 5.8

Same name and namespace in other branches
  1. 5 og_xmlrpc.inc \og_xmlrpc_error()
  2. 5.2 og_xmlrpc.inc \og_xmlrpc_error()
  3. 5.3 og_xmlrpc.inc \og_xmlrpc_error()
  4. 5.7 og_xmlrpc.inc \og_xmlrpc_error()
  5. 6.2 includes/og.xmlrpc.inc \og_xmlrpc_error()
  6. 6 includes/og.xmlrpc.inc \og_xmlrpc_error()

Prepare an error message for returning to the XMLRPC caller.

3 calls to og_xmlrpc_error()
og_xmlrpc_get_all_subscribers in ./og_xmlrpc.inc
og_xmlrpc_get_user_groups in ./og_xmlrpc.inc
og_xmlrpc_subscribe_user in ./og_xmlrpc.inc

File

./og_xmlrpc.inc, line 59

Code

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