diff options
| author | Dan Saunders <dsaunders@dansaunders.me> | 2013-08-25 23:23:02 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-26 13:35:51 +1000 |
| commit | 09388f6588843d8042fc2542d049deb47c57ce07 (patch) | |
| tree | 7177d5058c8d198f30c42226681319cc37da8315 | |
| parent | cdeccbb9ba041b47aec0b6e6cc7acea268cf32ad (diff) | |
Added a post-delete action for themes
This would be really useful for themes that focus on posts
| -rw-r--r-- | post.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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']; |
