summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 8de88ecf..dcce3d37 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -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);
}