Commit 2d313bda authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 290579: Remove unused function PasswordForLogin() from CGI.pl - Patch by…

Bug 290579: Remove unused function PasswordForLogin() from CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=justdave
parent 3b53b9f0
......@@ -174,17 +174,6 @@ sub ValidateBugID {
}
}
sub PasswordForLogin {
my ($login) = (@_);
SendSQL("SELECT cryptpassword FROM profiles WHERE login_name = " .
SqlQuote($login));
my $result = FetchOneColumn();
if (!defined $result) {
$result = "";
}
return $result;
}
sub CheckEmailSyntax {
my ($addr) = (@_);
my $match = Param('emailregexp');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment