Add option to update catalog on new posts as well as new threads

This commit is contained in:
ctrlcctrlv authored and Michael Foster committed 2013-08-19 03:08:02 +10:00
1 parent 9773416553
commit f8837ad60c
2 files changed
+9 -1

No files matched your search

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