diff --git a/lib/phpmailer/moodle_phpmailer.php b/lib/phpmailer/moodle_phpmailer.php index 1d43fa090d3..501d1159f3f 100644 --- a/lib/phpmailer/moodle_phpmailer.php +++ b/lib/phpmailer/moodle_phpmailer.php @@ -47,7 +47,6 @@ class moodle_phpmailer extends \PHPMailer\PHPMailer\PHPMailer { */ public function __construct(){ global $CFG; - $this->Version = 'Moodle '.$CFG->version; // mailer version $this->CharSet = 'UTF-8'; // MDL-52637: Disable the automatic TLS encryption added in v5.2.10 (9da56fc1328a72aa124b35b738966315c41ef5c6). $this->SMTPAutoTLS = false;