* [PATCH] feed: remove unused $cmt->{-html_url} field
@ 2019-09-20 19:42 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-09-20 19:42 UTC (permalink / raw)
To: meta
It was never used, and will not be needed.
---
lib/PublicInbox/Feed.pm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index da230525..6d659759 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -31,9 +31,6 @@ sub generate_thread_atom {
my $msgs = $ibx->over->get_thread($mid);
return _no_thread() unless @$msgs;
- my $html_url = $ibx->base_url($ctx->{env});
- $html_url .= PublicInbox::Hval->new_msgid($mid)->{href};
- $ctx->{-html_url} = $html_url;
PublicInbox::WwwAtomStream->response($ctx, 200, sub {
while (my $smsg = shift @$msgs) {
$ibx->smsg_mime($smsg) and return $smsg;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-20 19:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 19:42 [PATCH] feed: remove unused $cmt->{-html_url} field Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).