]> git.wh0rd.org Git - tt-rss.git/commitdiff
set interval between new version updates to once per 24 hours
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 29 Aug 2008 15:46:12 +0000 (16:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 29 Aug 2008 15:46:12 +0000 (16:46 +0100)
functions.php

index 3aa3cd6a39de1b36ce7e5306057c528a8fab2695..0e34af34e867003f943ca3f55cc8ee6db6cae90c 100644 (file)
 
                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=\"".