[ticket/15826] Add core.mcp_main_fork_sql_after

Add row array

PHPBB3-15826
This commit is contained in:
3D-I 2018-10-17 03:51:51 +02:00
parent 710760b9e4
commit b5ba220584

View file

@ -1465,12 +1465,14 @@ function mcp_fork_topic($topic_ids)
* @var int new_topic_id The newly created topic ID * @var int new_topic_id The newly created topic ID
* @var int to_forum_id The forum ID where the forked topic has been moved to * @var int to_forum_id The forum ID where the forked topic has been moved to
* @var int new_post_id The newly created post ID * @var int new_post_id The newly created post ID
* @var array row Post data
* @since 3.2.4-RC1 * @since 3.2.4-RC1
*/ */
$vars = array( $vars = array(
'new_topic_id', 'new_topic_id',
'to_forum_id', 'to_forum_id',
'new_post_id', 'new_post_id',
'row',
); );
extract($phpbb_dispatcher->trigger_event('core.mcp_main_fork_sql_after', compact($vars))); extract($phpbb_dispatcher->trigger_event('core.mcp_main_fork_sql_after', compact($vars)));