From e4e9a3b9bfa2d5fbe4a1552cba4a5f8af8382c64 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 14 Mar 2011 15:57:12 +1100 Subject: [PATCH] [B&D] did not actually delete the post correctly --- mod.php | 6 ++++++ 1 file changed, 6 insertions(+) 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