aboutsummaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-18 15:01:15 -0800
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-18 15:01:15 -0800
commita3f4a7f58a3331df8d093a8d029bb7794f10fe6a (patch)
tree43be195b8caa8023252ac335e123e249eb51bf46 /extensions
parent181bfd0cea1992fbf92d463fb9ef2a2b2ae517c8 (diff)
downloadbugs-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar
bugs-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar.gz
bugs-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar.bz2
bugs-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar.xz
bugs-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.zip
"my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug
in the Voting extension. (Thanks to timello for pointing this out!)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Voting/Extension.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm
index 47105bf98..06b8a6e9a 100644
--- a/extensions/Voting/Extension.pm
+++ b/extensions/Voting/Extension.pm
@@ -362,7 +362,6 @@ sub page_before_template {
sub _page_bug {
my ($vars) = @_;
my $dbh = Bugzilla->dbh;
- my $template = Bugzilla->template;
my $input = Bugzilla->input_params;
my $bug_id = $input->{bug_id};
@@ -384,7 +383,6 @@ sub _page_user {
my ($vars) = @_;
my $dbh = Bugzilla->dbh;
my $user = Bugzilla->user;
- my $template = Bugzilla->template;
my $input = Bugzilla->input_params;
my $action = $input->{action};