diff options
author | Andrew Dolgov <[email protected]> | 2008-08-29 16:46:12 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-08-29 16:46:12 +0100 |
commit | 2d1d59c79bc0bc9b03ba19d1fbde5fe24323aaba (patch) | |
tree | b3edb2c0674a6bfcdbceee7887b3156529083c50 /functions.php | |
parent | 8b803aa2b5a3b2663cac7f67be34f8dea0935c85 (diff) |
set interval between new version updates to once per 24 hours
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 3aa3cd6a3..0e34af34e 100644 --- a/functions.php +++ b/functions.php @@ -3061,7 +3061,7 @@ 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); print "<param key=\"new_version_available\" value=\"". |