From: Andrew Dolgov Date: Tue, 3 Feb 2015 11:43:11 +0000 (+0300) Subject: minor fixes for previous (2) X-Git-Tag: 16.3~363 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=480b2de3b130a10ead9c3c1c0e5048c56ba69b85;p=tt-rss.git minor fixes for previous (2) --- diff --git a/include/functions2.php b/include/functions2.php index 13b92225..75f9bebd 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -242,7 +242,7 @@ $data['reload_on_ts_change'] = !defined('_NO_RELOAD_ON_TS_CHANGE'); - if (true || $_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) { + if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) { $update_result = @check_for_update(); $data["update_result"] = $update_result;