From: Max Kanat-Alexander Date: Thu, 18 Feb 2010 23:01:15 +0000 (-0800) Subject: "my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug X-Git-Tag: bugzilla-3.7.1~239 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3f4a7f58a3331df8d093a8d029bb7794f10fe6a;p=thirdparty%2Fbugzilla.git "my $template = Bugzilla->template" wasn't needed in _page_user and _page_bug in the Voting extension. (Thanks to timello for pointing this out!) --- diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index 47105bf987..06b8a6e9a1 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};