diff options
author | Eric Wong <e@80x24.org> | 2015-09-04 02:18:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-04 02:19:02 +0000 |
commit | 559c6c88e81e40d65f68f97044c5a32a114dcbfc (patch) | |
tree | b8f0becda3b5c62ed43b5a361dc3d509d122afd6 /lib/PublicInbox/Thread.pm | |
parent | 8b01b9c9c6cdd42af1e1b968549452b2d727ba52 (diff) | |
download | public-inbox-559c6c88e81e40d65f68f97044c5a32a114dcbfc.tar.gz |
This is a display subroutine so it should not be in our thread monkey-patching package, but instead in the view package. Hopefully one day in the future, Mail::Thread will be maintained again and we'll no longer need PublicInbox::Thread at all.
Diffstat (limited to 'lib/PublicInbox/Thread.pm')
-rw-r--r-- | lib/PublicInbox/Thread.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/PublicInbox/Thread.pm b/lib/PublicInbox/Thread.pm index a3dedf54..781fffff 100644 --- a/lib/PublicInbox/Thread.pm +++ b/lib/PublicInbox/Thread.pm @@ -17,13 +17,6 @@ if ($Mail::Thread::VERSION <= 2.55) { eval q(sub _container_class { 'PublicInbox::Thread::Container' }); } -sub sort_ts { - sort { - (eval { $a->topmost->message->header('X-PI-TS') } || 0) <=> - (eval { $b->topmost->message->header('X-PI-TS') } || 0) - } @_; -} - package PublicInbox::Thread::Container; use strict; use warnings; |