mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-47295 libraries: Re-apply removal of random seed initialisation
See MDL-41198.
This commit is contained in:
parent
6000b797ab
commit
a3634cc382
@ -174,7 +174,8 @@ if (!defined('_ADODB_LAYER')) {
|
||||
|
||||
// Initialize random number generator for randomizing cache flushes
|
||||
// -- note Since PHP 4.2.0, the seed becomes optional and defaults to a random value if omitted.
|
||||
srand(((double)microtime())*1000000);
|
||||
// MDL-41198 Removed random seed initialization.
|
||||
// srand(((double)microtime())*1000000);
|
||||
|
||||
/**
|
||||
* ADODB version as a string.
|
||||
|
@ -21,6 +21,6 @@ Added:
|
||||
* readme_moodle.txt - this file ;-)
|
||||
|
||||
Our changes:
|
||||
* Removed random seed initialization from lib/adodb/adodb.inc.php:177
|
||||
* Removed random seed initialization from lib/adodb/adodb.inc.php:177 (see 038f546 and MDL-41198).
|
||||
|
||||
skodak, iarenaza, moodler, stronk7
|
||||
|
Loading…
x
Reference in New Issue
Block a user