]> Sergey Matveev's repositories - public-inbox.git/commitdiff
searchidx: remove unused sub: next_doc_id
authorEric Wong <e@80x24.org>
Fri, 25 Sep 2015 02:27:52 +0000 (02:27 +0000)
committerEric Wong <e@80x24.org>
Fri, 25 Sep 2015 02:29:06 +0000 (02:29 +0000)
It seems like it was never used

lib/PublicInbox/SearchIdx.pm

index 351450ca8ef1a1dc304a074f590f10eb2375a1a2..87243268a8ad71aa6c85494a5c608fcbdfabd3a2 100644 (file)
@@ -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 {