1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:25:56 +00:00

move rewrite_cached_urls to DiskCache::rewriteUrls()

This commit is contained in:
Andrew Dolgov
2019-08-13 12:46:57 +03:00
parent b1dd38f880
commit 133c2b482b
5 changed files with 77 additions and 65 deletions

View File

@@ -307,7 +307,7 @@ class Feeds extends Handler_Protected {
$line = $p->hook_render_article_cdm($line);
}
$line['content'] = rewrite_cached_urls($line['content']);
$line['content'] = DiskCache::rewriteUrls($line['content']);
if ($line['note'])
$line['note'] = Article::format_article_note($id, $line['note']);