diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-11-20 04:15:44 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-11-20 04:15:44 -0500 |
commit | 64d62038cd8e2e69eb101c5256ea458cff98ae10 (patch) | |
tree | 604188118275a8519a0e2eeea051e8086e30271d /phpBB/includes/ucp/ucp_activate.php | |
parent | 615570707109d139b1c85643bee6bf7ad200850b (diff) | |
download | forums-64d62038cd8e2e69eb101c5256ea458cff98ae10.tar forums-64d62038cd8e2e69eb101c5256ea458cff98ae10.tar.gz forums-64d62038cd8e2e69eb101c5256ea458cff98ae10.tar.bz2 forums-64d62038cd8e2e69eb101c5256ea458cff98ae10.tar.xz forums-64d62038cd8e2e69eb101c5256ea458cff98ae10.zip |
[ticket/10446] DRY X-AntiAbuse header addition.
PHPBB3-10446
Diffstat (limited to 'phpBB/includes/ucp/ucp_activate.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_activate.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php index b00c1b9f52..a1468895a9 100644 --- a/phpBB/includes/ucp/ucp_activate.php +++ b/phpBB/includes/ucp/ucp_activate.php @@ -117,10 +117,7 @@ class ucp_activate $messenger->to($user_row['user_email'], $user_row['username']); - $messenger->headers('X-AntiAbuse: Board servername - ' . $config['server_name']); - $messenger->headers('X-AntiAbuse: User_id - ' . $user->data['user_id']); - $messenger->headers('X-AntiAbuse: Username - ' . $user->data['username']); - $messenger->headers('X-AntiAbuse: User IP - ' . $user->ip); + $messenger->anti_abuse_headers(); $messenger->assign_vars(array( 'USERNAME' => htmlspecialchars_decode($user_row['username'])) |