summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-15 16:11:30 +0300
committerAndrew Dolgov <[email protected]>2021-02-15 16:11:30 +0300
commit166f2d46666bb872a1f30a5ab23b113f2f481640 (patch)
treeaba3be014a77a930e067864ce36b72e962100e3a /classes/handler/public.php
parent8e79f1717d5270558ffd30c20cc75840b0ecc955 (diff)
diskcache: unify naming
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index ea2a0c5ef..6ea02c361 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -106,7 +106,7 @@ class Handler_Public extends Handler {
$content = Sanitizer::sanitize($line["content"], false, $owner_uid,
$feed_site_url, false, $line["id"]);
- $content = DiskCache::rewriteUrls($content);
+ $content = DiskCache::rewrite_urls($content);
if ($line['note']) {
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
@@ -354,7 +354,7 @@ class Handler_Public extends Handler {
},
$line);
- $line['content'] = DiskCache::rewriteUrls($line['content']);
+ $line['content'] = DiskCache::rewrite_urls($line['content']);
header("Content-Type: text/html");