]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Inbox.pm
view: drop redundant References: display code
[public-inbox.git] / lib / PublicInbox / Inbox.pm
index 142b5c8949945139f771d28df8ff546d868b8c21..706089caac1b5788edb386c7dbf3a17d7f9b9f80 100644 (file)
@@ -273,7 +273,7 @@ sub msg_by_smsg ($$;$) {
        my ($self, $smsg, $ref) = @_;
 
        # ghosts may have undef smsg (from SearchThread.node) or
-       # no {blob} field (from each_smsg_by_mid)
+       # no {blob} field
        return unless defined $smsg;
        defined(my $blob = $smsg->{blob}) or return;
 
@@ -290,11 +290,6 @@ sub smsg_mime {
        }
 }
 
-sub path_check {
-       my ($self, $path) = @_;
-       git($self)->check('HEAD:'.$path);
-}
-
 sub mid2num($$) {
        my ($self, $mid) = @_;
        my $mm = mm($self) or return;
@@ -318,8 +313,8 @@ sub msg_by_mid ($$;$) {
 }
 
 sub recent {
-       my ($self, $opts) = @_;
-       search($self)->query('', $opts);
+       my ($self, $opts, $after, $before) = @_;
+       search($self)->{over_ro}->recent($opts, $after, $before);
 }
 
 1;