summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-03-28 16:13:39 +0300
committerAndrew Dolgov <[email protected]>2015-03-28 16:13:39 +0300
commitf75e7c64460b8337ecc769fb956cbe8a08b351e4 (patch)
treebd68169dc573bd1d6ccfcfb221afb4edd00afaf4 /classes
parent4b7391de7b941437abfa9a0bc71484868549fe7c (diff)
rename url_to_tag_uri to a more relevant name
Diffstat (limited to 'classes')
-rw-r--r--classes/handler/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 954cbad47..e170a2631 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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));