Changed to use the xmlrpcfault() function

This commit is contained in:
jengo 2001-11-29 22:07:51 +00:00
parent 94dd77324c
commit 99c96525b8

View File

@ -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
{