mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-02 02:57:26 +01:00
Bug: deleting posts doesn't rebuld index
This commit is contained in:
parent
a505a65b09
commit
212524751b
@ -1007,6 +1007,7 @@ function deletePost($id, $error_if_doesnt_exist=true, $rebuild_after=true) {
|
||||
$query->execute() or error(db_error($query));
|
||||
|
||||
if (isset($rebuild) && $rebuild_after) {
|
||||
buildIndex();
|
||||
buildThread($rebuild);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user