]> git.wh0rd.org Git - tt-rss.git/commitdiff
minor fixes for previous (2)
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 3 Feb 2015 11:43:11 +0000 (14:43 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 3 Feb 2015 11:43:11 +0000 (14:43 +0300)
include/functions2.php

index 13b92225e607e6462996740c3cbae94c2c494032..75f9bebdda834e17c07a1711437352c8201cf30a 100644 (file)
                $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;