summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-28 16:51:29 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-28 16:51:29 +1100
commit6c25d7d08f398dbf8102d75854aaa4eabc15cc19 (patch)
tree9926ed94d73700a6c8f99713ba5a38c02066bbd3
parenta16d62ca83cc796b1c40d648a5cac25c6c663cba (diff)
Rebuild index pages after deleting all posts by an IP address
-rw-r--r--mod.php2
1 files changed, 2 insertions, 0 deletions
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