diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-14 15:57:12 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-14 15:57:12 +1100 |
| commit | e4e9a3b9bfa2d5fbe4a1552cba4a5f8af8382c64 (patch) | |
| tree | 9c70672bc9b2aeab4bf86686544264a165df2800 /mod.php | |
| parent | 9703adb0e76ed6704feabd1e09b1be1673130d0a (diff) | |
[B&D] did not actually delete the post correctly
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
