From 41bb8a962d4d2d8f6e7ec9988908aaf7d55f09c7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 30 Jan 2019 07:38:51 +0000 Subject: view: remove unused _msg_date sub Not needed since commit 956abe9ad5f13a0d1755262be412d6a54fda72e9 ("view: depend on SearchMsg for Message-ID") --- lib/PublicInbox/View.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index cd125e00..4c1c6705 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -867,11 +867,6 @@ sub missing_thread { PublicInbox::ExtMsg::ext_msg($ctx); } -sub _msg_date { - my ($hdr) = @_; - fmt_ts(msg_datestamp($hdr)); -} - sub fmt_ts { POSIX::strftime('%Y-%m-%d %k:%M', gmtime($_[0])) } sub dedupe_subject { -- cgit v1.2.3-24-ge0c7