summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-01 05:04:11 +0000
committertravis%sedsystems.ca <>2005-02-01 05:04:11 +0000
commitb7e1208d8c64cdb3a86733052f349eb6228ee1b0 (patch)
tree4404f1450c8be5f3ee017f96f644a7b386ed5229 /createaccount.cgi
parentFixing tinderbox bustage from previous checkin. (diff)
downloadbugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.gz
bugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.tar.bz2
bugzilla-b7e1208d8c64cdb3a86733052f349eb6228ee1b0.zip
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-xcreateaccount.cgi4
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)