summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-12 09:59:47 +0100
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-12 09:59:47 +0100
commite2fb34028980910e006f09b4fd93c4172f79b306 (patch)
treeb7e8c2a2b63e652ae13ea6799c6e737728f6b5ed /program
parent743832fc51cbb6d8759cebf117e093788782223e (diff)
Remove obsolete mt_srand() calls
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_user.php1
1 files changed, 0 insertions, 1 deletions
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']));
}