diff options
author | Gervase Markham <gerv@mozilla.org> | 2016-07-28 20:21:14 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-07-28 20:21:14 +0200 |
commit | 2f3b867fdb5187f88b4f91b5cd1cdcdd46866ec2 (patch) | |
tree | 599fe51d377a825dfe0ee8b8e7498e6920dc60bb /rest.cgi | |
parent | df83e520ca50e32659aefbfae7976cdb84283917 (diff) | |
download | bugzilla-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-x | rest.cgi | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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(); |