function og_xmlrpc_error in Organic groups 5.3
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.7 og_xmlrpc.inc \og_xmlrpc_error()
- 6.2 includes/og.xmlrpc.inc \og_xmlrpc_error()
- 6 includes/og.xmlrpc.inc \og_xmlrpc_error()
Prepare an error message for returning to the XMLRPC caller.
3 calls to og_xmlrpc_error()
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));
}