summaryrefslogtreecommitdiffstats
path: root/rest.cgi
diff options
context:
space:
mode:
authorGervase Markham <gerv@mozilla.org>2016-07-28 20:21:14 +0200
committerDylan William Hardison <dylan@hardison.net>2016-07-28 20:21:14 +0200
commit2f3b867fdb5187f88b4f91b5cd1cdcdd46866ec2 (patch)
tree599fe51d377a825dfe0ee8b8e7498e6920dc60bb /rest.cgi
parentdf83e520ca50e32659aefbfae7976cdb84283917 (diff)
downloadbugzilla-2f3b867fdb5187f88b4f91b5cd1cdcdd46866ec2.tar.gz
bugzilla-2f3b867fdb5187f88b4f91b5cd1cdcdd46866ec2.tar.xz
Bug 1183647 - Optional Perl modules related to REST should now be mandatory
r=dylan,a=dylan
Diffstat (limited to 'rest.cgi')
-rwxr-xr-xrest.cgi7
1 files changed, 1 insertions, 6 deletions
diff --git a/rest.cgi b/rest.cgi
index 185b60ddc..9681849b2 100755
--- a/rest.cgi
+++ b/rest.cgi
@@ -14,11 +14,6 @@ use lib qw(. lib local/lib/perl5);
use Bugzilla;
use Bugzilla::Constants;
-use Bugzilla::Error;
-BEGIN {
- if (!Bugzilla->feature('rest')) {
- ThrowUserError('feature_disabled', { feature => 'rest' });
- }
-}
+
Bugzilla->usage_mode(USAGE_MODE_REST);
Bugzilla->api_server->handle();