Commit 2ae195e1 authored by Nigel McNie's avatar Nigel McNie
Browse files

Comment out adding the Mahara version to mail headers sent out.

There's no need to reveal this information, as the Mahara version is not revealed elsewhere.
(cherry picked from commit fb830d75)
parent 2b8552b3
...@@ -270,7 +270,8 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='') ...@@ -270,7 +270,8 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='')
$mail = new phpmailer(); $mail = new phpmailer();
$mail->Version = 'Mahara ' . get_config('release'); // Leaving this commented out - there's no reason for people to know this
//$mail->Version = 'Mahara ' . get_config('release');
$mail->PluginDir = get_config('libroot') . 'phpmailer/'; $mail->PluginDir = get_config('libroot') . 'phpmailer/';
$mail->CharSet = 'UTF-8'; $mail->CharSet = 'UTF-8';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment