about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-18 09:13:06 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-18 09:14:11 +0000
commite7de01f139de8a5f90e9f1349732ebae8e2975f9 (patch)
tree4d6955b1d9e9b394e4a80b23b9d18eab2e7f2a93 /lib
parentbe4d92e74dd0b1c8de85bc08c3c522af2d8d8656 (diff)
downloadpublic-inbox-e7de01f139de8a5f90e9f1349732ebae8e2975f9.tar.gz
Otherwise articles show up again...
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/SearchIdx.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index f9b40b0d..fd766277 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -385,11 +385,13 @@ sub remove_message {
         my $db = $self->{xdb};
         my $called;
         $mid = mid_clean($mid);
+        my $over = $self->{over};
 
         eval {
                 batch_do($self, 'Q' . $mid, sub {
                         my ($ids) = @_;
                         $db->delete_document($_) for @$ids;
+                        $over->delete_articles($ids) if $over;
                         $called = 1;
                 });
         };