From b7e1208d8c64cdb3a86733052f349eb6228ee1b0 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Feb 2005 05:04:11 +0000 Subject: Bug 280124 : Move InsertNewUser to Bugzilla::User Patch by Max Kanat-Alexander r=vladd a=justdave --- createaccount.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index 2447c1117..6867ea3c4 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -30,6 +30,8 @@ use lib qw(.); require "CGI.pl"; +use Bugzilla::User qw(insert_new_user); + # Shut up misguided -w warnings about "used only once": use vars qw( $template @@ -74,7 +76,7 @@ if (defined($login)) { } # Create account - my $password = InsertNewUser($login, $realname); + my $password = insert_new_user($login, $realname); MailPassword($login, $password); $template->process("account/created.html.tmpl", $vars) -- cgit v1.2.3-65-gdbad