mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +01:00
Rebuild index pages after deleting all posts by an IP address
This commit is contained in:
parent
477d69ca21
commit
7c7d7de7bb
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…
x
Reference in New Issue
Block a user