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 --- index.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'index.cgi') diff --git a/index.cgi b/index.cgi index 694292fc7..f3e8ccd17 100755 --- a/index.cgi +++ b/index.cgi @@ -32,8 +32,6 @@ use strict; use lib "."; require "globals.pl"; -use vars qw($vars); - # Check whether or not the user is logged in and, if so, set the $::userid use Bugzilla::Constants; Bugzilla->login(LOGIN_OPTIONAL); @@ -55,5 +53,5 @@ my $template = Bugzilla->template; print $cgi->header(); # Generate and return the UI (HTML page) from the appropriate template. -$template->process("index.html.tmpl", $vars) +$template->process("index.html.tmpl") || ThrowTemplateError($template->error()); -- cgit v1.2.3-24-g4f1b