Mail now contains Moodle version
authormoodler <moodler>
Wed, 23 Oct 2002 12:12:01 +0000 (12:12 +0000)
committermoodler <moodler>
Wed, 23 Oct 2002 12:12:01 +0000 (12:12 +0000)
lib/moodlelib.php

index 7daf595..44640c4 100644 (file)
@@ -1521,7 +1521,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a
     
     $mail = new phpmailer;
 
-    $mail->Version = "Moodle $CFG->moodleversion";     // mailer version 
+    $mail->Version = "Moodle $CFG->version";           // mailer version 
     $mail->PluginDir = "$CFG->libdir/phpmailer/";      // plugin directory (eg smtp plugin)
 
     if ($CFG->smtphosts) {