From e2fb34028980910e006f09b4fd93c4172f79b306 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <bruederli@kolabsys.com>
Date: Thu, 12 Mar 2015 04:59:47 -0400
Subject: [PATCH] Remove obsolete mt_srand() calls
---
program/lib/Roundcube/rcube_user.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/program/lib/Roundcube/rcube_user.php b/program/lib/Roundcube/rcube_user.php
index 1a61efd..8ed34fc 100644
--- a/program/lib/Roundcube/rcube_user.php
+++ b/program/lib/Roundcube/rcube_user.php
@@ -242,7 +242,6 @@
// 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']));
}
--
Gitblit v1.9.1