You are here

function og_xmlrpc_error in Organic groups 6.2

Same name and namespace in other branches
  1. 5.8 og_xmlrpc.inc \og_xmlrpc_error()
  2. 5 og_xmlrpc.inc \og_xmlrpc_error()
  3. 5.2 og_xmlrpc.inc \og_xmlrpc_error()
  4. 5.3 og_xmlrpc.inc \og_xmlrpc_error()
  5. 5.7 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 includes/og.xmlrpc.inc
og_xmlrpc_get_user_groups in includes/og.xmlrpc.inc
og_xmlrpc_subscribe_user in includes/og.xmlrpc.inc

File

includes/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));
}