mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
[B&D] did not actually delete the post correctly
This commit is contained in:
parent
34306a1fa5
commit
c5b518e3c3
6
mod.php
6
mod.php
@ -1026,6 +1026,12 @@
|
||||
if($mod['type'] >= $config['mod']['delete'] && isset($_POST['delete']) && isset($_POST['board'])) {
|
||||
openBoard($_POST['board']);
|
||||
deletePost(round($_POST['delete']));
|
||||
|
||||
// Record the action
|
||||
modLog("Deleted post #{$post}");
|
||||
|
||||
// Rebuild board
|
||||
buildIndex();
|
||||
}
|
||||
|
||||
// Redirect
|
||||
|
Loading…
Reference in New Issue
Block a user