]> git.wh0rd.org Git - tt-rss.git/commitdiff
rename url_to_tag_uri to a more relevant name
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 28 Mar 2015 13:13:39 +0000 (16:13 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 28 Mar 2015 13:13:39 +0000 (16:13 +0300)
classes/handler/public.php

index 954cbad47a59a901d0a4c57634cd67ce041b3823..e170a263192857291d3c4de99815e0159845eec9 100644 (file)
@@ -101,7 +101,7 @@ class Handler_Public extends Handler {
 
                                $tpl->setVariable('ARTICLE_ID',
                                        htmlspecialchars($orig_guid ? $line['link'] :
-                                                       $this->url_to_tag_uri($line['id'], $line['date_entered'])), true);
+                                                       $this->make_article_tag_uri($line['id'], $line['date_entered'])), true);
                                $tpl->setVariable('ARTICLE_LINK', htmlspecialchars($line['link']), true);
                                $tpl->setVariable('ARTICLE_TITLE', htmlspecialchars($line['title']), true);
                                $tpl->setVariable('ARTICLE_EXCERPT', $line["content_preview"], true);
@@ -1032,7 +1032,7 @@ class Handler_Public extends Handler {
                }
        }
 
-       private function url_to_tag_uri($id, $timestamp) {
+       private function make_article_tag_uri($id, $timestamp) {
 
                $timestamp = date("Y-m-d", strtotime($timestamp));