summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-14 08:25:09 +0300
committerAndrew Dolgov <[email protected]>2019-08-14 08:25:09 +0300
commit65450f8a2bbf325d26177c2589c3a9bbe67d8f80 (patch)
tree932b65b145294955ac4628cd9b0536c83c392ce6 /classes/api.php
parentb0fbae938dbc7c66c7829a86f7dd0fe6fb689908 (diff)
parentfdb6066bf67751ebb388a3de082d80f5444e3681 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/api.php b/classes/api.php
index e505dcc91..45e4d3062 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -379,7 +379,7 @@ class API extends Handler {
$article = $p->hook_render_article_api(array("article" => $article));
}
- $article['content'] = rewrite_cached_urls($article['content']);
+ $article['content'] = DiskCache::rewriteUrls($article['content']);
array_push($articles, $article);
@@ -801,7 +801,7 @@ class API extends Handler {
$headline_row = $p->hook_render_article_api(array("headline" => $headline_row));
}
- $headline_row['content'] = rewrite_cached_urls($headline_row['content']);
+ $headline_row['content'] = DiskCache::rewriteUrls($headline_row['content']);
array_push($headlines, $headline_row);
}