]> Sergey Matveev's repositories - public-inbox.git/commitdiff
searchmsg: remove unused `tid' and `path' methods
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 5 Apr 2018 09:34:07 +0000 (09:34 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 5 Apr 2018 10:27:13 +0000 (10:27 +0000)
These internal attributes are not exposed and no longer
used in our APIs.

lib/PublicInbox/SearchMsg.pm

index 6c0780e5906424f845bafd2e3f14ed09e849e620..d43853a0ac6a5c5515a27950051ed02a1af3f65b 100644 (file)
@@ -186,9 +186,4 @@ sub mid ($;$) {
 
 sub _extract_mid { mid_clean(mid_mime($_[0]->{mime})) }
 
 
 sub _extract_mid { mid_clean(mid_mime($_[0]->{mime})) }
 
-sub tid { $_[0]->{tid} }
-
-# XXX: consider removing this, we can phrase match subject
-sub path { $_[0]->{path} }
-
 1;
 1;