aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-11-20 14:02:22 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-11-20 14:02:22 +0100
commita7077c91495521a8015a2e1dbbe587b2d97a8edc (patch)
treee6616ac14607986954af17b666d35da797653412
parentc68973a9e04c51e4a2eeec9c3276c9a89baa09e5 (diff)
downloadforums-a7077c91495521a8015a2e1dbbe587b2d97a8edc.tar
forums-a7077c91495521a8015a2e1dbbe587b2d97a8edc.tar.gz
forums-a7077c91495521a8015a2e1dbbe587b2d97a8edc.tar.bz2
forums-a7077c91495521a8015a2e1dbbe587b2d97a8edc.tar.xz
forums-a7077c91495521a8015a2e1dbbe587b2d97a8edc.zip
[ticket/10446] Remove leftover $headers parameter from anti_abuse_headers().
PHPBB3-10446
-rw-r--r--phpBB/includes/functions_messenger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index a2ad51a42e..9087b1c8aa 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -165,9 +165,10 @@ class messenger
/**
* Adds X-AntiAbuse headers
*/
- function anti_abuse_headers($headers)
+ function anti_abuse_headers()
{
global $config, $user;
+
$this->headers('X-AntiAbuse: Board servername - ' . mail_encode($config['server_name']));
$this->headers('X-AntiAbuse: User_id - ' . $user->data['user_id']);
$this->headers('X-AntiAbuse: Username - ' . mail_encode($user->data['username']));