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

This commit is contained in:
Dan Saunders authored and Michael Foster committed 2013-08-26 13:36:14 +10:00
1 parent 09388f6588
commit bb06593ef5
3 files changed
+3 -3

No files matched your search

+1 -1
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);
}