mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Add option to limit the maximum thread depth of comments
This commit is contained in:
parent
81d9f46098
commit
a4e9eb4a00
8 changed files with 60 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ class Features
|
|||
{
|
||||
$features->comment->cancel_report = ($module_info->cancel_vote ?? 'N') === 'Y';
|
||||
}
|
||||
$features->comment->max_thread_depth = $comment_config->max_thread_depth ?? 0;
|
||||
$features->comment->default_page = $comment_config->default_page ?? 'last';
|
||||
|
||||
return $features;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue