Fix try_smarter with deletePost

This commit is contained in:
ctrlcctrlv 2013-08-22 17:08:26 +00:00
parent c7a1ee3121
commit 97a56a7ec1

View File

@ -1007,8 +1007,8 @@ function deletePost($id, $error_if_doesnt_exist=true, $rebuild_after=true) {
$query->execute() or error(db_error($query)); $query->execute() or error(db_error($query));
if (isset($rebuild) && $rebuild_after) { if (isset($rebuild) && $rebuild_after) {
buildIndex();
buildThread($rebuild); buildThread($rebuild);
buildIndex();
} }
return true; return true;