diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-22 16:51:28 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-22 16:51:28 +0000 |
| commit | c7a1ee31219cfdedca9bfe94a1a5f9e691c2a0dc (patch) | |
| tree | d43789251a86be24dcde13c099bc648e0d9c3b35 | |
| parent | 3dfe13be3c1f23f812535ebb8243a4ee14d6c129 (diff) | |
Bug: deleting posts doesn't rebuld index
| -rw-r--r-- | inc/functions.php | 1 |
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); } |
