From: Andrew Dolgov Date: Thu, 22 Jan 2009 08:04:45 +0000 (+0100) Subject: new_version_check: add timestamp randomize X-Git-Tag: git2svn-syncpoint-master~68 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8742de78bdc70b064a49a19c796eb3c81cf05a71;p=tt-rss.git new_version_check: add timestamp randomize --- 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 "