]> git.wh0rd.org Git - tt-rss.git/commitdiff
auto-check for updates hourly
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Aug 2007 13:18:52 +0000 (14:18 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 20 Aug 2007 13:18:52 +0000 (14:18 +0100)
functions.php

index 11bb9d8a8e7060204912baeb1c743397e3049a3f..fd8f4da00af40d0c95818d75508e25f8754a0210 100644 (file)
 
                if (CHECK_FOR_NEW_VERSION && $_SESSION["access_level"] >= 10) {
                        
-                       if ($_SESSION["last_version_check"] + 600 < time()) {
+                       if ($_SESSION["last_version_check"] + 7200 < time()) {
                                $new_version_details = check_for_update($link);
 
                                print "<param key=\"new_version_available\" value=\"".