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

[ticket/14927] Put vars on one line

PHPBB3-14927
This commit is contained in:
Marc Alexander 2017-02-21 22:15:12 +01:00
parent bac6dbda5e
commit bc86210db8
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -280,11 +280,7 @@ function user_add($user_row, $cp_data = false, $notifications_data = null)
* @changed 3.1.0-b5 Added user_row and cp_data
* @changed 3.1.11-RC1 Added notifications_data
*/
$vars = array(
'user_row',
'cp_data',
'sql_ary',
'notifications_data');
$vars = array('user_row', 'cp_data', 'sql_ary', 'notifications_data');
extract($phpbb_dispatcher->trigger_event('core.user_add_modify_data', compact($vars)));
$sql = 'INSERT INTO ' . USERS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);