forked from leftypol/leftypol
Add option to update catalog on new posts as well as new threads
This commit is contained in:
parent
9773416553
commit
f8837ad60c
2 changed files with 9 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
$b = new Catalog();
|
||||
$b->build($settings, $board);
|
||||
}
|
||||
} elseif ($action == 'post-thread' && in_array($board, $boards)) {
|
||||
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') && in_array($board, $boards)) {
|
||||
$b = new Catalog();
|
||||
$b->build($settings, $board);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue