diff options
author | Andrew Dolgov <[email protected]> | 2019-12-20 21:24:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-12-20 21:24:53 +0300 |
commit | bb7099ffb04f3d663f84d52bc5cc265db236c11e (patch) | |
tree | eae4df408eb7acd864a08de5c24d1305e0298a8c /classes/rpc.php | |
parent | 4b44103b849912714e2f044b62d158c8188f3a81 (diff) | |
parent | 021757ad5cccffb2030539a871e8117648eb5eae (diff) |
Merge branch 'master' of git.tt-rss.org:fox/tt-rss into weblate-integration
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index af5bdf52c..208551075 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -595,7 +595,7 @@ class RPC extends Handler_Protected { get_version($git_commit, $git_timestamp); - if (CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && $git_timestamp) { + if (defined('CHECK_FOR_UPDATES') && CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && $git_timestamp) { $content = @fetch_file_contents(["url" => "https://srv.tt-rss.org/version.json"]); if ($content) { |