Browse Source

Added a post-delete action for themes

This would be really useful for themes that focus on posts
tags/vichan-devel-4.4.92
Dan Saunders Michael Foster 10 years ago
parent
commit
09388f6588
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      post.php

+ 3
- 0
post.php View File

@@ -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'];


Loading…
Cancel
Save