Rebuild index pages after deleting all posts by an IP address
This commit is contained in:
parent
a16d62ca83
commit
6c25d7d08f
2
mod.php
2
mod.php
@ -1119,6 +1119,8 @@
|
|||||||
deletePost($post['id'], false);
|
deletePost($post['id'], false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildIndex();
|
||||||
|
|
||||||
if(isset($_SERVER['HTTP_REFERER']))
|
if(isset($_SERVER['HTTP_REFERER']))
|
||||||
header('Location: ' . $_SERVER['HTTP_REFERER'], true, $config['redirect_http']);
|
header('Location: ' . $_SERVER['HTTP_REFERER'], true, $config['redirect_http']);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user