From e2fb34028980910e006f09b4fd93c4172f79b306 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 12 Mar 2015 09:59:47 +0100 Subject: Remove obsolete mt_srand() calls --- program/lib/Roundcube/rcube_user.php | 1 - 1 file changed, 1 deletion(-) (limited to 'program/lib/Roundcube') diff --git a/program/lib/Roundcube/rcube_user.php b/program/lib/Roundcube/rcube_user.php index 1a61efd5e..8ed34fc28 100644 --- a/program/lib/Roundcube/rcube_user.php +++ b/program/lib/Roundcube/rcube_user.php @@ -242,7 +242,6 @@ class rcube_user // generate a random hash and store it in user prefs if (empty($prefs['client_hash'])) { - mt_srand((double)microtime() * 1000000); $prefs['client_hash'] = md5($this->data['username'] . mt_rand() . $this->data['mail_host']); $this->save_prefs(array('client_hash' => $prefs['client_hash'])); } -- cgit v1.2.3