-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
MergeExecute
Description
Sets merge options and does the actual merging of two or more topics.
Syntax
void MergeExecute ([array $topics])
Parameter $topics
Expected type: Array of Integers
Description: An array of topic IDs indicating which topics should be merged (set when function is called internally)
Notes
- The merge options screen:
- Shows topics to be merged and allows the user to set some merge options.
- Is accessed by ?action=mergetopics;sa=options and can also internally be called by QuickModeration() (Subs-Boards.php).
- Uses 'merge_extra_options' sub template of the SplitTopics template.
- The actual merge:
- Is accessed with ?action=mergetopics;sa=execute.
- Updates the statistics to reflect the merge.
- Logs the action in the moderation log.
- Sends a notification to all users monitoring this topic.
- Redirects to ?action=mergetopics;sa=done.
- Same as MergeTopics2 in 1.0.x
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search