about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-25 02:27:52 +0000
committerEric Wong <e@80x24.org>2015-09-25 02:29:06 +0000
commitd51d7261fb75b9a2c378e3d46c6c370397e44c8f (patch)
tree78d13a1a46f10d9a29e042b558f328ec438b2650 /lib
parent33895202425441fb9a65a624c2d624fea026f811 (diff)
downloadpublic-inbox-d51d7261fb75b9a2c378e3d46c6c370397e44c8f.tar.gz
It seems like it was never used
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/SearchIdx.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index 351450ca..87243268 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -175,8 +175,6 @@ sub term_generator { # write-only
         $self->{term_generator} = $tg;
 }
 
-sub next_doc_id { $_[0]->{xdb}->get_lastdocid + 1 }
-
 # increments last_thread_id counter
 # returns a 64-bit integer represented as a hex string
 sub next_thread_id {