mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Changed to use the xmlrpcfault() function
This commit is contained in:
parent
94dd77324c
commit
99c96525b8
@ -531,17 +531,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->xmlrpc || $this->soap)
|
||||
if ($this->xmlrpc)
|
||||
{
|
||||
$r = CreateObject('phpgwapi.xmlrpcresp',
|
||||
CreateObject('phpgwapi.xmlrpcval'),
|
||||
$GLOBALS['xmlrpcerr']['unknown_method'],
|
||||
$s
|
||||
);
|
||||
$payload = "<?xml version=\"1.0\"?>\n" . $r->serialize();
|
||||
Header("Content-type: text/xml\r\nContent-length: " . strlen($payload));
|
||||
print $payload;
|
||||
$GLOBALS['phpgw']->common->phpgw_exit(False);
|
||||
xmlrpcfault($s);
|
||||
}
|
||||
else if ($this->soap)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user