From 2ed0d6c433c9ef5a6b9137725030f64b4b38392e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 May 2017 15:22:57 +0300 Subject: move counter cache to a separate class fix references to get_article_tags --- classes/handler/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/handler') diff --git a/classes/handler/public.php b/classes/handler/public.php index ec0c0fc60..d525bc54c 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -227,7 +227,7 @@ class Handler_Public extends Handler { if ($line['note']) $article['note'] = $line['note']; if ($article['author']) $article['author'] = $line['author']; - $tags = get_article_tags($line["id"], $owner_uid); + $tags = Article::get_article_tags($line["id"], $owner_uid); if (count($tags) > 0) { $article['tags'] = array(); -- cgit v1.2.3