function og_xmlrpc_error in Organic groups 6
Same name and namespace in other branches
- 5.8 og_xmlrpc.inc \og_xmlrpc_error()
- 5 og_xmlrpc.inc \og_xmlrpc_error()
- 5.2 og_xmlrpc.inc \og_xmlrpc_error()
- 5.3 og_xmlrpc.inc \og_xmlrpc_error()
- 5.7 og_xmlrpc.inc \og_xmlrpc_error()
- 6.2 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));
}