diff options
| author | Marcin Ćabanowski <marcin@6irc.net> | 2016-09-23 09:24:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-23 09:24:05 +0200 |
| commit | a4b619ae5eaab5755dc215a496854dee8f7ce395 (patch) | |
| tree | ae42ba85c8385b88a0ec23f9cbf99ce4f53dde99 | |
| parent | 3f38a6db9760c618c61cab4d892ea5632771231e (diff) | |
| parent | 8951cb74c8fbface07e38308994bc2fe480e3c82 (diff) | |
Merge pull request #198 from seisatsu/patch-1
Rebuild index when mod deletes a thread.
| -rw-r--r-- | inc/mod/pages.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 303fa3dd..c3e98af5 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1721,6 +1721,8 @@ function mod_deletebyip($boardName, $post, $global = false) { deletePost($post['id'], false, false); rebuildThemes('post-delete', $board['uri']); + + buildIndex(); if ($post['thread']) $threads_to_rebuild[$post['board']][$post['thread']] = true; |
