From a6ff444d9a4d6a40623a9899731d9b3467984b7d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 8 Oct 2012 13:01:56 +0200 Subject: Bug 652047: checksetup.pl fails to compile/run if the Voting extension is enabled on a fresh install r=glob a=LpSolit --- extensions/Voting/Config.pm | 19 +++++++++++++++++++ extensions/Voting/Extension.pm | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 extensions/Voting/Config.pm (limited to 'extensions') diff --git a/extensions/Voting/Config.pm b/extensions/Voting/Config.pm new file mode 100644 index 000000000..4fefe957a --- /dev/null +++ b/extensions/Voting/Config.pm @@ -0,0 +1,19 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. + +package Bugzilla::Extension::Voting; +use strict; + +use constant NAME => 'Voting'; + +use constant REQUIRED_MODULES => [ +]; + +use constant OPTIONAL_MODULES => [ +]; + +__PACKAGE__->NAME; diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index 4cb8171e8..49ab99e13 100644 --- a/extensions/Voting/Extension.pm +++ b/extensions/Voting/Extension.pm @@ -21,7 +21,6 @@ use Bugzilla::Token; use List::Util qw(min); -use constant NAME => 'Voting'; use constant VERSION => BUGZILLA_VERSION; use constant DEFAULT_VOTES_PER_BUG => 1; # These came from Bugzilla itself, so they maintain the old numbers -- cgit v1.2.3-24-g4f1b