From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C0DCD1F463 for ; Fri, 20 Sep 2019 19:42:24 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] feed: remove unused $cmt->{-html_url} field Date: Fri, 20 Sep 2019 19:42:24 +0000 Message-Id: <20190920194224.5350-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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;