]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
"my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 18 Feb 2010 23:01:15 +0000 (15:01 -0800)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 18 Feb 2010 23:01:15 +0000 (15:01 -0800)
in the Voting extension. (Thanks to timello for pointing this out!)

extensions/Voting/Extension.pm

index 47105bf987ba4a4096b789eadffea1de3a1d49b2..06b8a6e9a1d50d2ba341a3320cc1914a6dffed0f 100644 (file)
@@ -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};