From a1331e538ed8fff6e9554de553a2869954f54167 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 2 May 2014 23:16:37 +0000 Subject: view: API cleanup, remove "as_" prefix These views are not OO, so the "as_" prefix makes little sense and "as_html" conflicts with Hval, which is OO. --- lib/PublicInbox/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Feed.pm') diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 09eb2fca..12ac8a95 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -243,7 +243,7 @@ sub add_to_feed { defined $mid or return 0; $mid = PublicInbox::Hval->new_msgid($mid); my $href = $mid->as_href . '.html'; - my $content = PublicInbox::View->as_feed_entry($mime, $fullurl . $href); + my $content = PublicInbox::View->feed_entry($mime, $fullurl . $href); defined($content) or return 0; my $subject = mime_header($mime, 'Subject') or return 0; -- cgit v1.2.3-24-ge0c7