mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
7bc61277c1
1 changed files with 11 additions and 0 deletions
|
@ -2085,6 +2085,17 @@ class acp_users
|
|||
'user_sig_bbcode_bitfield' => $bbcode_bitfield,
|
||||
);
|
||||
|
||||
/**
|
||||
* Modify user signature before it is stored in the DB
|
||||
*
|
||||
* @event core.acp_users_modify_signature_sql_ary
|
||||
* @var array user_row Array with user data
|
||||
* @var array sql_ary Array with user signature data to be updated in the DB
|
||||
* @since 3.2.4-RC1
|
||||
*/
|
||||
$vars = array('user_row', 'sql_ary');
|
||||
extract($phpbb_dispatcher->trigger_event('core.acp_users_modify_signature_sql_ary', compact($vars)));
|
||||
|
||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
||||
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
|
||||
WHERE user_id = ' . $user_id;
|
||||
|
|
Loading…
Add table
Reference in a new issue