summaryrefslogtreecommitdiffstats
path: root/xmlrpc.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc.cgi')
-rwxr-xr-xxmlrpc.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlrpc.cgi b/xmlrpc.cgi
index a8092b25d..5fff5f7e1 100755
--- a/xmlrpc.cgi
+++ b/xmlrpc.cgi
@@ -16,7 +16,7 @@ use Bugzilla::Error;
use Bugzilla::WebService::Constants;
BEGIN {
if (!Bugzilla->feature('xmlrpc')) {
- ThrowCodeError('feature_disabled', { feature => 'xmlrpc' });
+ ThrowUserError('feature_disabled', { feature => 'xmlrpc' });
}
}
use Bugzilla::WebService::Server::XMLRPC;