1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 08:00:46 +01:00

[ticket/14804] Rename event to mcp_forum_merge_topics_after; update @since

PHPBB3-14804
This commit is contained in:
Daniel Sinn 2016-09-30 15:58:10 -04:00
parent 1d25c80a9c
commit c6383d3f89

View File

@ -506,16 +506,16 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
/**
* Perform additional actions after merging topics.
*
* @event core.mcp_merge_after
* @event core.mcp_forum_merge_topics_after
* @var array all_topic_data The data from all topics involved in the merge
* @var int to_topic_id The ID of the topic into which the rest are merged
* @since 3.1.10-RC1
* @since 3.1.11-RC1
*/
$vars = array(
'all_topic_data',
'to_topic_id',
);
extract($phpbb_dispatcher->trigger_event('core.mcp_merge_after', compact($vars)));
extract($phpbb_dispatcher->trigger_event('core.mcp_forum_merge_topics_after', compact($vars)));
meta_refresh(3, $redirect);
trigger_error($user->lang[$success_msg] . '<br /><br />' . $return_link);