summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-02 06:39:20 +0200
committerlpsolit%gmail.com <>2005-09-02 06:39:20 +0200
commitde1f16178dcae2d517e849e45ee77fd3d636005c (patch)
tree757461a665f72fa131a8662b2daaff8999b84aa9 /globals.pl
parent7ce67eec4fb2c17ee3621b1aad2f99295ed4649f (diff)
downloadbugzilla-de1f16178dcae2d517e849e45ee77fd3d636005c.tar.gz
bugzilla-de1f16178dcae2d517e849e45ee77fd3d636005c.tar.xz
Bug 304582: Move GenerateRandomPassword() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/globals.pl b/globals.pl
index ae0a54260..7f3d9dd13 100644
--- a/globals.pl
+++ b/globals.pl
@@ -341,11 +341,6 @@ sub GetVersionTable {
$::VersionTableLoaded = 1;
}
-sub GenerateRandomPassword {
- my $size = (shift or 10); # default to 10 chars if nothing specified
- return join("", map{ ('0'..'9','a'..'z','A'..'Z')[rand 62] } (1..$size));
-}
-
#
# This function checks if there are any entry groups defined.
# If called with no arguments, it identifies