set interval between new version updates to once per 24 hours

master
Andrew Dolgov 16 years ago
parent 8b803aa2b5
commit 2d1d59c79b

@ -3061,7 +3061,7 @@
if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) { if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) {
if ($_SESSION["last_version_check"] + 7200 < time()) { if ($_SESSION["last_version_check"] + 86400 < time()) {
$new_version_details = check_for_update($link); $new_version_details = check_for_update($link);
print "<param key=\"new_version_available\" value=\"". print "<param key=\"new_version_available\" value=\"".

Loading…
Cancel
Save