Merge pull request #198 from seisatsu/patch-1
Rebuild index when mod deletes a thread.
This commit is contained in:
commit
a4b619ae5e
@ -1721,6 +1721,8 @@ function mod_deletebyip($boardName, $post, $global = false) {
|
|||||||
deletePost($post['id'], false, false);
|
deletePost($post['id'], false, false);
|
||||||
|
|
||||||
rebuildThemes('post-delete', $board['uri']);
|
rebuildThemes('post-delete', $board['uri']);
|
||||||
|
|
||||||
|
buildIndex();
|
||||||
|
|
||||||
if ($post['thread'])
|
if ($post['thread'])
|
||||||
$threads_to_rebuild[$post['board']][$post['thread']] = true;
|
$threads_to_rebuild[$post['board']][$post['thread']] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user