From 6c25d7d08f398dbf8102d75854aaa4eabc15cc19 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 28 Mar 2011 16:51:29 +1100 Subject: [PATCH] Rebuild index pages after deleting all posts by an IP address --- mod.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod.php b/mod.php index 5688e614..3db8ea6d 100644 --- a/mod.php +++ b/mod.php @@ -1119,6 +1119,8 @@ deletePost($post['id'], false); } + buildIndex(); + if(isset($_SERVER['HTTP_REFERER'])) header('Location: ' . $_SERVER['HTTP_REFERER'], true, $config['redirect_http']); else