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:
commit
58bd7a90a9
@ -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)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user