From 44de29d04d1ca7e3b047b2a847508dc949c29038 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 25 Oct 2005 06:11:55 +0000 Subject: Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters r=LpSolit a=justdave --- votes.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'votes.cgi') diff --git a/votes.cgi b/votes.cgi index 61a57e06f..f30eebe3c 100755 --- a/votes.cgi +++ b/votes.cgi @@ -32,10 +32,9 @@ use Bugzilla::Bug; require "globals.pl"; -# Use global template variables -use vars qw($template $vars); - my $cgi = Bugzilla->cgi; +my $template = Bugzilla->template; +my $vars = {}; # If the action is show_bug, you need a bug_id. # If the action is show_user, you can supply a userid to show the votes for -- cgit v1.2.3-24-g4f1b