]> Sergey Matveev's repositories - public-inbox.git/commitdiff
feed: remove unused $cmt->{-html_url} field
authorEric Wong <e@80x24.org>
Fri, 20 Sep 2019 19:42:24 +0000 (19:42 +0000)
committerEric Wong <e@80x24.org>
Sun, 22 Sep 2019 03:08:00 +0000 (03:08 +0000)
It was never used, and will not be needed.

lib/PublicInbox/Feed.pm

index da230525da2e42cf2b919104ad900e754b5d32e6..6d6597597d90c501dd6a8ce0b96e246573548c3a 100644 (file)
@@ -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;