summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-14 15:57:12 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-14 15:57:12 +1100
commite4e9a3b9bfa2d5fbe4a1552cba4a5f8af8382c64 (patch)
tree9c70672bc9b2aeab4bf86686544264a165df2800 /mod.php
parent9703adb0e76ed6704feabd1e09b1be1673130d0a (diff)
[B&D] did not actually delete the post correctly
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod.php b/mod.php
index 34b36ad8..0e2289ca 100644
--- a/mod.php
+++ b/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