aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_inactive.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-11-20 18:45:56 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-11-20 18:45:56 +0100
commitd766ee3fe65924aa8379ef0672b2f52315415612 (patch)
tree480e8a3399691ca0c8633b92775205ea9a7475c8 /phpBB/includes/acp/acp_inactive.php
parent08032068c0b8d6ebe36484603a6d9b61608e222e (diff)
parent92e1681761d83db426de1176f48d37ad30c14acf (diff)
downloadforums-d766ee3fe65924aa8379ef0672b2f52315415612.tar
forums-d766ee3fe65924aa8379ef0672b2f52315415612.tar.gz
forums-d766ee3fe65924aa8379ef0672b2f52315415612.tar.bz2
forums-d766ee3fe65924aa8379ef0672b2f52315415612.tar.xz
forums-d766ee3fe65924aa8379ef0672b2f52315415612.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10446] Pass $config and $user via parameter to anti_abuse_headers(). [ticket/10446] Remove leftover $headers parameter from anti_abuse_headers(). [ticket/10446] RFC2047 encode user/server names in X-AntiAbuse headers. [ticket/10446] DRY X-AntiAbuse header addition. Conflicts: phpBB/includes/ucp/ucp_register.php
Diffstat (limited to 'phpBB/includes/acp/acp_inactive.php')
-rw-r--r--phpBB/includes/acp/acp_inactive.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/phpBB/includes/acp/acp_inactive.php b/phpBB/includes/acp/acp_inactive.php
index 0e4801f630..8df11f053a 100644
--- a/phpBB/includes/acp/acp_inactive.php
+++ b/phpBB/includes/acp/acp_inactive.php
@@ -118,10 +118,7 @@ class acp_inactive
$messenger->to($row['user_email'], $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($config, $user);
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($row['username']))
@@ -209,10 +206,7 @@ class acp_inactive
$messenger->to($row['user_email'], $row['username']);
$messenger->im($row['user_jabber'], $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($config, $user);
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($row['username']),