diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-08 13:01:56 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-08 13:01:56 +0200 |
commit | a6ff444d9a4d6a40623a9899731d9b3467984b7d (patch) | |
tree | cf1b22e0e52532463b7fd0022e3fa30784ee82f0 /extensions/Voting | |
parent | 39cabcff828dd0821eb44d9a3f26febd30751231 (diff) | |
download | bugzilla-a6ff444d9a4d6a40623a9899731d9b3467984b7d.tar.gz bugzilla-a6ff444d9a4d6a40623a9899731d9b3467984b7d.tar.xz |
Bug 652047: checksetup.pl fails to compile/run if the Voting extension is enabled on a fresh install
r=glob a=LpSolit
Diffstat (limited to 'extensions/Voting')
-rw-r--r-- | extensions/Voting/Config.pm | 19 | ||||
-rw-r--r-- | extensions/Voting/Extension.pm | 1 |
2 files changed, 19 insertions, 1 deletions
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 |