Merge pull request #198 from seisatsu/patch-1

Rebuild index when mod deletes a thread.
This commit is contained in:
Marcin Łabanowski 2016-09-23 09:24:05 +02:00 committed by GitHub
commit a4b619ae5e

View File

@ -1722,6 +1722,8 @@ function mod_deletebyip($boardName, $post, $global = 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;
else else