Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[ticket/12559] Add forum setting to limit subforums legend to direct children only #2473
you should update https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/install/schemas/schema.json too and then run develop/create_schema_files.php
Actually, adding this as an option for categories in the ACP module is very tricky. There isn't really any place for a unique setting that is shared by forums & categories, but not links. We can't simply duplicate form components for obvious reasons, and introducing yet another table column for categories which does exactly the same thing as the forum version... that's just silly.
So I'm going to leave it as is. If admins really want to limit subforums for categories, they can change the forum type to "forum", change the setting, and change the type back to "category".
Not ideal, but it's the cleanest way, code-wise.