summaryrefslogtreecommitdiff
path: root/include/functions2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-03-30 13:45:27 +0300
committerAndrew Dolgov <[email protected]>2016-03-30 13:46:32 +0300
commit465fb16d3312b302fdf8fe0ceb8dfa51b6ad239b (patch)
treea2edf69db1fd2f5ceebc59d7adf626268aea545d /include/functions2.php
parent633fb7ffe24a794532a92a6a221d8ad29685ddc1 (diff)
remove fetch_file_contents2, use a compat shim instead
Diffstat (limited to 'include/functions2.php')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 5fe527b7e..1c2ffb936 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -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);