Added post-delete handling on themes that should use it.

This commit is contained in:
Dan Saunders 2013-08-25 23:26:41 -04:00 committed by Michael Foster
parent 09388f6588
commit bb06593ef5
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@
$b = new Catalog();
$b->build($settings, $board);
}
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') && in_array($board, $boards)) {
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') && in_array($board, $boards)) {
$b = new Catalog();
$b->build($settings, $board);
}