From: Andrew Dolgov Date: Mon, 20 Aug 2007 13:18:52 +0000 (+0100) Subject: auto-check for updates hourly X-Git-Tag: 1.2.14~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c04206e55560f8e8e70a01407d228d44646e6b05;p=tt-rss.git auto-check for updates hourly --- diff --git a/functions.php b/functions.php index 11bb9d8a..fd8f4da0 100644 --- a/functions.php +++ b/functions.php @@ -2446,7 +2446,7 @@ 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 "