From faf956c4c0e0003648c05f5c2269f4a31a2767c1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 10 Aug 2010 19:58:56 -0600 Subject: [PATCH] There is no longer a length parameter --- framework/Support/lib/Horde/Support/Guid.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/Support/lib/Horde/Support/Guid.php b/framework/Support/lib/Horde/Support/Guid.php index da6ef6b51..07d187bb1 100644 --- a/framework/Support/lib/Horde/Support/Guid.php +++ b/framework/Support/lib/Horde/Support/Guid.php @@ -39,8 +39,6 @@ class Horde_Support_Guid * 'prefix' - (string) A prefix to add between the date string and the * random string. * DEFAULT: NONE - * 'rlength' - (integer) The length of the random string. - * DEFAULT: 16 * 'server' - (string) The server name. * DEFAULT: $_SERVER['SERVER_NAME'] (or 'localhost') * @@ -58,8 +56,6 @@ class Horde_Support_Guid * 'prefix' - (string) A prefix to add between the date string and the * random string. * DEFAULT: NONE - * 'rlength' - (integer) The length of the random string. - * DEFAULT: 16 * 'server' - (string) The server name. * DEFAULT: $_SERVER['SERVER_NAME'] (or 'localhost') * @@ -69,7 +65,7 @@ class Horde_Support_Guid $this->_guid = date('YmdHis') . '.' . (isset($opts['prefix']) ? $opts['prefix'] . '.' : '') - . strval(new Horde_Support_Randomid(isset($opts['rlength']) ? $opts['rlength'] : 16)) + . strval(new Horde_Support_Randomid()) . '@' . (isset($opts['server']) ? $opts['server'] : (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost')); } -- 2.11.0