1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:15:55 +00:00

remove fetch_file_contents2, use a compat shim instead

This commit is contained in:
Andrew Dolgov
2016-03-30 13:45:27 +03:00
parent 633fb7ffe2
commit 465fb16d33
2 changed files with 21 additions and 22 deletions

View File

@@ -203,7 +203,7 @@
function check_for_update() {
if (defined("GIT_VERSION_TIMESTAMP")) {
$content = @fetch_file_contents2(array("url" => "http://tt-rss.org/version.json", "timeout" => 5));
$content = @fetch_file_contents(array("url" => "http://tt-rss.org/version.json", "timeout" => 5));
if ($content) {
$content = json_decode($content, true);