From de1f16178dcae2d517e849e45ee77fd3d636005c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 2 Sep 2005 04:39:20 +0000 Subject: Bug 304582: Move GenerateRandomPassword() out of globals.pl - Patch by Frédéric Buclin r=joel a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.pl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'globals.pl') 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 -- cgit v1.2.3-24-g4f1b