diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-01-29 06:50:00 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-01-29 06:56:28 -0800 |
commit | 976f4aa6d3e82e568149dd58a0197b36641b7b81 (patch) | |
tree | 5df93d3bd42ed5eebfce726bdf559d45d2684075 /jsonrpc.cgi | |
parent | Merge remote-tracking branch 'origin/master' into bugstest (diff) | |
parent | Merge tag 'release-5.0.6' into bugstest (diff) | |
download | bugzilla-976f4aa6d3e82e568149dd58a0197b36641b7b81.tar.gz bugzilla-976f4aa6d3e82e568149dd58a0197b36641b7b81.tar.bz2 bugzilla-976f4aa6d3e82e568149dd58a0197b36641b7b81.zip |
Merge branch 'bugstest-5.0.6' into bugstest
Merge my 5.0.6 import changes. This is specifically a merge to make it
easier to merge upstream changes again after the code reformatting.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'jsonrpc.cgi')
-rwxr-xr-x | jsonrpc.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jsonrpc.cgi b/jsonrpc.cgi index 2c93585b0..6933e26cb 100755 --- a/jsonrpc.cgi +++ b/jsonrpc.cgi @@ -16,10 +16,11 @@ use Bugzilla; use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::WebService::Constants; + BEGIN { - if (!Bugzilla->feature('jsonrpc')) { - ThrowUserError('feature_disabled', { feature => 'jsonrpc' }); - } + if (!Bugzilla->feature('jsonrpc')) { + ThrowUserError('feature_disabled', {feature => 'jsonrpc'}); + } } use Bugzilla::WebService::Server::JSONRPC; |