summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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