aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
committerlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
commit44de29d04d1ca7e3b047b2a847508dc949c29038 (patch)
tree934c0ccce39c238b3bf6a0337014e6f1fde9918b /createaccount.cgi
parentBug 313209: Oracle requires "CASE WHEN" around boolean expressions in the SEL... (diff)
downloadbugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.bz2
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.zip
Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi6
1 files changed, 3 insertions, 3 deletions
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.