mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-28 02:17:09 +00:00
cleanup some defined-stuff
This commit is contained in:
@@ -329,7 +329,7 @@ class RPC extends Handler_Protected {
|
||||
|
||||
get_version($git_commit, $git_timestamp);
|
||||
|
||||
if (defined('Config::get(Config::CHECK_FOR_UPDATES)') && Config::get(Config::CHECK_FOR_UPDATES) && $_SESSION["access_level"] >= 10 && $git_timestamp) {
|
||||
if (Config::get(Config::CHECK_FOR_UPDATES) && $_SESSION["access_level"] >= 10 && $git_timestamp) {
|
||||
$content = @UrlHelper::fetch(["url" => "https://tt-rss.org/version.json"]);
|
||||
|
||||
if ($content) {
|
||||
|
||||
Reference in New Issue
Block a user