1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Rebuild index pages after deleting all posts by an IP address

This commit is contained in:
Savetheinternet 2011-03-28 16:51:29 +11:00
parent a16d62ca83
commit 6c25d7d08f

View File

@ -1119,6 +1119,8 @@
deletePost($post['id'], false);
}
buildIndex();
if(isset($_SERVER['HTTP_REFERER']))
header('Location: ' . $_SERVER['HTTP_REFERER'], true, $config['redirect_http']);
else