-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
mergePosts
Description
Handles merging posts from one topic into another topic.
Syntax
void mergePosts ([array $msgs, int $from_topic, int $target_topic])
Parameter $msgs
Expected type: Array of Integers
Description: An array containing the IDs of the posts to be merged
Parameter $from_topic
Expected type: Integer
Description: The ID of the topic that the posts were originally in
Parameter $target_topic
Expected type: Integer
Description: The ID of the topic that the posts will be merged into
Notes
- Handles all statistics-related items
- Deletes the "from topic" if it no longer has any posts
- Updates post counts as needed
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.142 seconds with 13 queries.
- Forum Search