Browse Source

Merge pull request #198 from seisatsu/patch-1

Rebuild index when mod deletes a thread.
pull/40/head
Marcin Łabanowski 8 years ago
committed by GitHub
parent
commit
a4b619ae5e
  1. 2
      inc/mod/pages.php

2
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;

Loading…
Cancel
Save