From 70780e40e5586c6882e33dd65a3dc3f31031a321 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 30 Nov 2019 23:12:11 -0800 Subject: Gentoo-local version of 7f3a749d7bd78a3e4aee163f562d7e95b0954b44 w/ Perl-Tidy-20180220 Reformat all code using Perl-Tidy v20180220 and .perltidyrc from matching upstream 7f3a749d7bd78a3e4aee163f562d7e95b0954b44 commit. Signed-off-by: Robin H. Johnson --- rest.cgi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'rest.cgi') diff --git a/rest.cgi b/rest.cgi index f12fb64c4..892cb62dd 100755 --- a/rest.cgi +++ b/rest.cgi @@ -16,12 +16,11 @@ use Bugzilla; use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::WebService::Constants; + BEGIN { - if (!Bugzilla->feature('rest') - || !Bugzilla->feature('jsonrpc')) - { - ThrowUserError('feature_disabled', { feature => 'rest' }); - } + if (!Bugzilla->feature('rest') || !Bugzilla->feature('jsonrpc')) { + ThrowUserError('feature_disabled', {feature => 'rest'}); + } } use Bugzilla::WebService::Server::REST; Bugzilla->usage_mode(USAGE_MODE_REST); -- cgit v1.2.3-65-gdbad