1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-19 07:00:14 +01:00

Merge pull request #4746 from ErnadoO/ticket/15131

[ticket/15131] Add variable to the 'core.mcp_main_modify_fork_sql' event
This commit is contained in:
Marc Alexander 2017-06-03 11:37:02 +02:00
commit 58bd7a90a9
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -1297,11 +1297,14 @@ 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
* @changed 3.1.11-RC1 Added variable: topic_row
*/
$vars = array(
'sql_ary',
'topic_row',
);
extract($phpbb_dispatcher->trigger_event('core.mcp_main_modify_fork_sql', compact($vars)));