diff options
author | travis%sedsystems.ca <> | 2005-02-01 06:04:11 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-01 06:04:11 +0100 |
commit | b7e1208d8c64cdb3a86733052f349eb6228ee1b0 (patch) | |
tree | 4404f1450c8be5f3ee017f96f644a7b386ed5229 /createaccount.cgi | |
parent | 955aba6821f199ad5d0850fe2065490a40d53007 (diff) | |
download | bugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.gz bugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.xz |
Bug 280124 : Move InsertNewUser to Bugzilla::User
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
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) |