[ticket/15131] Add variables to the 'core.mcp_main_modify_fork_sql' event

PHPBB3-15131
This commit is contained in:
Erwan Nader 2017-03-18 17:58:06 +01:00
parent 9267235f30
commit 716cff0c97

View file

@ -1297,11 +1297,13 @@ function mcp_fork_topic($topic_ids)
* Perform actions before forked topic is created.
*
* @event core.mcp_main_modify_fork_sql
* @var array sql_ary SQL array to be used by $db->sql_build_array
* @var array sql_ary SQL array to be used by $db->sql_build_array
* @var array topic_row Topic data
* @since 3.1.11-RC1
*/
$vars = array(
'sql_ary',
'topic_row',
);
extract($phpbb_dispatcher->trigger_event('core.mcp_main_modify_fork_sql', compact($vars)));