diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-19 00:01:15 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-19 00:01:15 +0100 |
commit | a3f4a7f58a3331df8d093a8d029bb7794f10fe6a (patch) | |
tree | 43be195b8caa8023252ac335e123e249eb51bf46 /extensions | |
parent | 181bfd0cea1992fbf92d463fb9ef2a2b2ae517c8 (diff) | |
download | bugzilla-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar.gz bugzilla-a3f4a7f58a3331df8d093a8d029bb7794f10fe6a.tar.xz |
"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.pm | 2 |
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}; |