summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-11 09:40:58 +0200
committerlpsolit%gmail.com <>2005-07-11 09:40:58 +0200
commit1cee8ef54bf9806b30f39c1984275c1d82bfbf2c (patch)
tree26490eabff5de280598248ee9228b9182571ff65 /createaccount.cgi
parent2e4739171044ed04d9d12c9e781ba72e195da153 (diff)
downloadbugzilla-1cee8ef54bf9806b30f39c1984275c1d82bfbf2c.tar.gz
bugzilla-1cee8ef54bf9806b30f39c1984275c1d82bfbf2c.tar.xz
Bug 299572: Move MailPassword() from CGI.pl into BugMail.pm (and remove an unused variable) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index 9d9f55d8a..499e200e7 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -32,6 +32,7 @@ require "CGI.pl";
use Bugzilla::Constants;
use Bugzilla::User;
+use Bugzilla::BugMail;
# Shut up misguided -w warnings about "used only once":
use vars qw(
@@ -81,7 +82,7 @@ if (defined($login)) {
# Create account
my $password = insert_new_user($login, $realname);
- MailPassword($login, $password);
+ Bugzilla::BugMail::MailPassword($login, $password);
$template->process("account/created.html.tmpl", $vars)
|| ThrowTemplateError($template->error());