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