Commit a3f4a7f5 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

"my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug

in the Voting extension. (Thanks to timello for pointing this out!)
parent 181bfd0c
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment