Function deleteBoards
Remove one or more boards. Allows to move the children of the board before deleting it if moveChildrenTo is set to null, the child boards will be deleted. Deletes: - all topics that are on the given boards; - all information that's associated with the given boards; updates the statistics to reflect the new situation.
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
array |
$boards_to_remove |
The boards to remove |
integer |
$moveChildrenTo = null |
The ID of the board to move the child boards to (null to remove the child boards, 0 to make them a top-level board) |