diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-08 13:05:25 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-10-08 13:05:25 +0200 |
commit | ab2667128b1c9546bd0d1df63af2e19d19b94e5f (patch) | |
tree | bde87a829b1244b2b7d058ff9e317ecb33cc17e1 /extensions/Voting | |
parent | d9ff8889f92abbaef07b0ef98da0064e8965176e (diff) | |
download | bugzilla-ab2667128b1c9546bd0d1df63af2e19d19b94e5f.tar.gz bugzilla-ab2667128b1c9546bd0d1df63af2e19d19b94e5f.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 | 33 | ||||
-rw-r--r-- | extensions/Voting/Extension.pm | 1 |
2 files changed, 33 insertions, 1 deletions
diff --git a/extensions/Voting/Config.pm b/extensions/Voting/Config.pm new file mode 100644 index 000000000..438f1e054 --- /dev/null +++ b/extensions/Voting/Config.pm @@ -0,0 +1,33 @@ +# -*- Mode: perl; indent-tabs-mode: nil -*- +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Bugzilla Bug Tracking System. +# +# The Initial Developer of the Original Code is Frédéric Buclin. +# Portions created by the Initial Developer is Copyright (C) 2012 the +# Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Frédéric Buclin <LpSolit@gmail.com> + +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 ead81266a..a5a3bc11b 100644 --- a/extensions/Voting/Extension.pm +++ b/extensions/Voting/Extension.pm @@ -40,7 +40,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 |