1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +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 477d69ca21
commit 7c7d7de7bb

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