diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-06-19 17:54:55 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-06-19 17:54:55 +0200 |
commit | 70b04016eb123e02868a5391677d75fffc1155ea (patch) | |
tree | d4d3a9d32bf8d9c8fc0cffbb88c6cb3f9318a502 /phpBB/includes/ucp/ucp_profile.php | |
parent | 63d3b240a462dbb16a48231bf4beded5c12039ac (diff) | |
parent | 804236bce4d4dd8bbf134f02942750c34e2d7ae1 (diff) | |
download | forums-70b04016eb123e02868a5391677d75fffc1155ea.tar forums-70b04016eb123e02868a5391677d75fffc1155ea.tar.gz forums-70b04016eb123e02868a5391677d75fffc1155ea.tar.bz2 forums-70b04016eb123e02868a5391677d75fffc1155ea.tar.xz forums-70b04016eb123e02868a5391677d75fffc1155ea.zip |
Merge branch '3.1.x' into 3.2.x
Conflicts:
phpBB/includes/ucp/ucp_profile.php
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 64c49e17ac..130bf60d3a 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -558,6 +558,17 @@ class ucp_profile 'user_sig_bbcode_bitfield' => $bbcode_bitfield ); + /** + * Modify user registration data before submitting it to the database + * + * @event core.ucp_profile_modify_signature_sql_ary + * @var array sql_ary Array with user signature data to submit to the database + * @since 3.1.10-RC1 + */ + $vars = array('sql_ary'); + extract($phpbb_dispatcher->trigger_event('core.ucp_profile_modify_signature_sql_ary', compact($vars))); + + $sql = 'UPDATE ' . USERS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . ' WHERE user_id = ' . $user->data['user_id']; |