diff options
author | Andrew Dolgov <[email protected]> | 2009-01-22 09:04:45 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-22 09:04:45 +0100 |
commit | 8742de78bdc70b064a49a19c796eb3c81cf05a71 (patch) | |
tree | 5ef955cc289e9ffd9ddc764322cb5f6804aa075d /functions.php | |
parent | 50b2db963224d0912aec136548965715f626f1b7 (diff) |
new_version_check: add timestamp randomize
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index ef0fc4e6c..bddee8b17 100644 --- a/functions.php +++ b/functions.php @@ -3079,7 +3079,7 @@ if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) { - if ($_SESSION["last_version_check"] + 86400 < time()) { + if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) { $new_version_details = check_for_update($link); print "<param key=\"new_version_available\" value=\"". |