From 09388f6588843d8042fc2542d049deb47c57ce07 Mon Sep 17 00:00:00 2001 From: Dan Saunders Date: Sun, 25 Aug 2013 23:23:02 -0400 Subject: [PATCH] Added a post-delete action for themes This would be really useful for themes that focus on posts --- post.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/post.php b/post.php index 7ab1eb59..2450bf06 100644 --- a/post.php +++ b/post.php @@ -75,6 +75,9 @@ if (isset($_POST['delete'])) { } buildIndex(); + + + rebuildThemes('post-delete', $board['uri']); $is_mod = isset($_POST['mod']) && $_POST['mod']; $root = $is_mod ? $config['root'] . $config['file_mod'] . '?/' : $config['root'];