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 --- createaccount.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index 1be63756d..8bb7829ef 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -36,9 +36,6 @@ use Bugzilla::User; use Bugzilla::BugMail; use Bugzilla::Util; -# Shut up misguided -w warnings about "used only once": -use vars qw($template $vars); - # Just in case someone already has an account, let them get the correct footer # on an error message. The user is logged out just after the account is # actually created. @@ -46,6 +43,9 @@ Bugzilla->login(LOGIN_OPTIONAL); my $dbh = Bugzilla->dbh; my $cgi = Bugzilla->cgi; +my $template = Bugzilla->template; +my $vars = {}; + print $cgi->header(); # If we're using LDAP for login, then we can't create a new account here. -- cgit v1.2.3-24-g4f1b