mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Replace mt_rand with random_int in ProcessReleases class
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2017-07-25 DariusIII
|
||||
* Chg: Replace mt_rand with random_int in ProcessReleases class
|
||||
* Chg: Try to prevent creating new session on every BasePage load
|
||||
* Chg: Add automatic user profile role change for expired roles (role change date) on users list check (admin area)
|
||||
2017-07-23 DariusIII
|
||||
|
||||
@@ -992,7 +992,7 @@ class ProcessReleases
|
||||
|
||||
// Cleanup orphaned collections, binaries and parts
|
||||
// this really shouldn't happen, but just incase - so we only run 1/200 of the time
|
||||
if (mt_rand(0, 200) <= 1) {
|
||||
if (random_int(0, 200) <= 1) {
|
||||
// CBP collection orphaned with no binaries or parts.
|
||||
if ($this->echoCLI) {
|
||||
echo (
|
||||
|
||||
Reference in New Issue
Block a user