From ede3ced0fa2b76a5fcf8770eee29a2e23d5189a9 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 4 Nov 2014 22:40:34 +0800 Subject: Bug 1093622: Backout bug 1090427 for causing: authenticated calls from bzapi are failing: 'Untrusted Authentication Request' --- Bugzilla/Util.pm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Bugzilla/Util.pm') diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index 67798d470..2349dc9e9 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -36,8 +36,8 @@ use base qw(Exporter); detaint_signed html_quote url_quote xml_quote css_class_quote html_light_quote - i_am_cgi i_am_webservice correct_urlbase remote_ip - validate_ip do_ssl_redirect_if_required use_attachbase + i_am_cgi i_am_webservice correct_urlbase remote_ip validate_ip + do_ssl_redirect_if_required use_attachbase diff_arrays on_main_db trim wrap_hard wrap_comment find_wrap_point format_time validate_date validate_time datetime_from @@ -875,7 +875,6 @@ Bugzilla::Util - Generic utility functions for bugzilla # Functions that tell you about your environment my $is_cgi = i_am_cgi(); - my $is_webservice = i_am_webservice(); my $urlbase = correct_urlbase(); # Data manipulation @@ -1005,11 +1004,6 @@ Tells you whether or not you are being run as a CGI script in a web server. For example, it would return false if the caller is running in a command-line script. -=item C - -Tells you whether or not the current usage mode is WebServices related -such as JSONRPC or XMLRPC. - =item C Returns either the C or C parameter, depending on the -- cgit v1.2.3-24-g4f1b