mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 00:59:14 +00:00
move rewrite_cached_urls to DiskCache::rewriteUrls()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user