Fix bustage due to bug 446327 - Patch by me, r=mkanat
git-svn-id: svn://10.0.0.236/trunk@253852 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e62e028333
commit
1c6af6e73a
@ -31,10 +31,12 @@ eval 'use XMLRPC::Transport::HTTP;
|
||||
$@ && ThrowCodeError('soap_not_installed');
|
||||
|
||||
Bugzilla->usage_mode(Bugzilla::Constants::USAGE_MODE_WEBSERVICE);
|
||||
local $SOAP::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL;
|
||||
local $SOAP::Constants::FAULT_SERVER;
|
||||
$SOAP::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL;
|
||||
# The line above is used, this one is ignored, but SOAP::Lite
|
||||
# might start using this constant (the correct one) for XML-RPC someday.
|
||||
local $XMLRPC::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL;
|
||||
local $XMLRPC::Constants::FAULT_SERVER;
|
||||
$XMLRPC::Constants::FAULT_SERVER = ERROR_UNKNOWN_FATAL;
|
||||
|
||||
my %hook_dispatch;
|
||||
Bugzilla::Hook::process('webservice', { dispatch => \%hook_dispatch });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user