Function fixChildren
Fixes the children of a board by setting their child_levels to new values. Used when a board is deleted or moved, to affect its children.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Boards.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Boards.php
integer |
$parent |
The ID of the parent board |
integer |
$newLevel |
The new child level for each of the child boards |
integer |
$newParent |
The ID of the new parent board |