forked from leftypol/leftypol
Bug: deleting posts doesn't rebuld index
This commit is contained in:
parent
3dfe13be3c
commit
c7a1ee3121
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue