summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-06-05 05:02:59 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-06-05 05:02:59 +0200
commitd8124f85dd4d1ff0a207d0c033a4333af42d62eb (patch)
tree417cd4df4b1ff5e8daf1a81c7886514800ee0209 /Bugzilla/WebService
parentb8eb6641bd474fcd97f27315c46fde6dfff5fe76 (diff)
parent6b9b50db744c603dbfa0c7ae5aac8dca4e58b0cd (diff)
downloadbugzilla-d8124f85dd4d1ff0a207d0c033a4333af42d62eb.tar.gz
bugzilla-d8124f85dd4d1ff0a207d0c033a4333af42d62eb.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Server.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server.pm b/Bugzilla/WebService/Server.pm
index 4e0315219..feb80e9d0 100644
--- a/Bugzilla/WebService/Server.pm
+++ b/Bugzilla/WebService/Server.pm
@@ -25,6 +25,7 @@ use Scalar::Util qw(blessed);
sub handle_login {
my ($self, $class, $method, $full_method) = @_;
+ ThrowCodeError('unknown_method', {method => $full_method}) if !$class;
eval "require $class";
ThrowCodeError('unknown_method', {method => $full_method}) if $@;
return if ($class->login_exempt($method)