1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-08 15:35:11 +02:00

Merge pull request #5939 from mrgoldy/ticket/16433

[ticket/16433] Add data array to core.ucp_register_user_row_after
This commit is contained in:
Marc Alexander 2020-05-11 21:04:24 +02:00
commit bb43e732c8
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -411,11 +411,13 @@ class ucp_register
* @event core.ucp_register_user_row_after * @event core.ucp_register_user_row_after
* @var bool submit Do we display the form only * @var bool submit Do we display the form only
* or did the user press submit * or did the user press submit
* @var array data Array with current ucp registration data
* @var array cp_data Array with custom profile fields data * @var array cp_data Array with custom profile fields data
* @var array user_row Array with current ucp registration data * @var array user_row Array with user data that will be inserted
* @since 3.1.4-RC1 * @since 3.1.4-RC1
* @changed 3.2.10-RC1 Added data array
*/ */
$vars = array('submit', 'cp_data', 'user_row'); $vars = array('submit', 'data', 'cp_data', 'user_row');
extract($phpbb_dispatcher->trigger_event('core.ucp_register_user_row_after', compact($vars))); extract($phpbb_dispatcher->trigger_event('core.ucp_register_user_row_after', compact($vars)));
// Register user... // Register user...