Browse Source

Bug: deleting posts doesn't rebuld index

pull/40/head
ctrlcctrlv 11 years ago
parent
commit
c7a1ee3121
  1. 1
      inc/functions.php

1
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);
}

Loading…
Cancel
Save