mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-47295 libraries: Re-apply removal of random seed initialisation
See MDL-41198.
This commit is contained in:
parent
6000b797ab
commit
a3634cc382
2 changed files with 3 additions and 2 deletions
|
@ -174,7 +174,8 @@ if (!defined('_ADODB_LAYER')) {
|
||||||
|
|
||||||
// Initialize random number generator for randomizing cache flushes
|
// 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.
|
// -- 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.
|
* ADODB version as a string.
|
||||||
|
|
|
@ -21,6 +21,6 @@ Added:
|
||||||
* readme_moodle.txt - this file ;-)
|
* readme_moodle.txt - this file ;-)
|
||||||
|
|
||||||
Our changes:
|
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
|
skodak, iarenaza, moodler, stronk7
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue