[ticket/16940] Optimize phpBB Native Search

PHPBB3-16940
This commit is contained in:
Dark❶ 2021-12-14 16:28:50 +05:30
parent 6389a57633
commit a4302d9fa5
No known key found for this signature in database
GPG key ID: B5C35684F456E634

View file

@ -397,10 +397,9 @@ abstract class base implements search_backend_interface
if (count($ids)) if (count($ids))
{ {
$this->index_remove($ids, $posters, $forum_ids); $this->index_remove($ids, $posters, $forum_ids);
}
$post_counter = $ids[count($ids) - 1]; $post_counter = $ids[count($ids) - 1];
} }
}
if ($post_counter < $max_post_id) if ($post_counter < $max_post_id)
{ {