summaryrefslogtreecommitdiffstats
path: root/extensions/Voting
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Voting')
-rw-r--r--extensions/Voting/Extension.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm
index 74e327098..d94ff8430 100644
--- a/extensions/Voting/Extension.pm
+++ b/extensions/Voting/Extension.pm
@@ -40,6 +40,7 @@ use Bugzilla::Util qw(detaint_natural);
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
# they had before.
@@ -50,8 +51,6 @@ use constant REL_VOTER => 4;
# Installation #
################
-our $VERSION = BUGZILLA_VERSION;
-
sub db_schema_abstract_schema {
my ($self, $args) = @_;
$args->{'schema'}->{'votes'} = {