mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/10446] Remove leftover $headers parameter from anti_abuse_headers().
PHPBB3-10446
This commit is contained in:
parent
c68973a9e0
commit
a7077c9149
1 changed files with 2 additions and 1 deletions
|
@ -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']));
|
||||
|
|
Loading…
Add table
Reference in a new issue