From 8742de78bdc70b064a49a19c796eb3c81cf05a71 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Jan 2009 09:04:45 +0100 Subject: [PATCH] new_version_check: add timestamp randomize --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index ef0fc4e6..bddee8b1 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 "