diff options
author | lpsolit%gmail.com <> | 2005-10-25 08:11:55 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-25 08:11:55 +0200 |
commit | 44de29d04d1ca7e3b047b2a847508dc949c29038 (patch) | |
tree | 934c0ccce39c238b3bf6a0337014e6f1fde9918b /createaccount.cgi | |
parent | 46aba0e761e99db24b5de10f13bbc108fdc982a4 (diff) | |
download | bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.xz |
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-x | createaccount.cgi | 6 |
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. |