forked from leftypol/leftypol
Rebuild themes after stickying or locking post, so that catalog gets rebuilt
This commit is contained in:
parent
eefa9e3790
commit
2b741c7477
2 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
|||
$b->build($settings, $board);
|
||||
}
|
||||
}
|
||||
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') && in_array($board, $boards)) {
|
||||
} elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete')
|
||||
|| $action == 'sticky' || $action == 'lock' && in_array($board, $boards)) {
|
||||
$b = new Catalog($settings);
|
||||
|
||||
$action = generation_strategy("sb_catalog", array($board));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue