forked from leftypol/leftypol
Rebuild index pages after deleting all posts by an IP address
This commit is contained in:
parent
a16d62ca83
commit
6c25d7d08f
1 changed files with 2 additions and 0 deletions
2
mod.php
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue