summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-17 02:33:29 +0200
committerlpsolit%gmail.com <>2005-04-17 02:33:29 +0200
commit2d313bda0114f1f61ba2aff76d5505ec48f57f75 (patch)
tree5c1330670ef693364323e995ea154f667df1ce50
parent3b53b9f05ee1543df57034d5c74a1c2b3dffc9d5 (diff)
downloadbugzilla-2d313bda0114f1f61ba2aff76d5505ec48f57f75.tar.gz
bugzilla-2d313bda0114f1f61ba2aff76d5505ec48f57f75.tar.xz
Bug 290579: Remove unused function PasswordForLogin() from CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=justdave
-rw-r--r--CGI.pl11
1 files changed, 0 insertions, 11 deletions
diff --git a/CGI.pl b/CGI.pl
index 1295a5baf..db8b8e27f 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -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');