summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-22 17:08:26 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-22 17:08:26 +0000
commit97a56a7ec1d01349cb3ef204821f64cd75941fc3 (patch)
tree67b2050b56d8abb7832a78bd90d68edcd9878156
parentc7a1ee31219cfdedca9bfe94a1a5f9e691c2a0dc (diff)
Fix try_smarter with deletePost
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index dcce3d37..a62e67ab 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1007,8 +1007,8 @@ 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);
+ buildIndex();
}
return true;