CRM-13891 - CiviMail - Change "test" to "draft" on test messages
authorJamie McClelland <jm@mayfirst.org>
Tue, 3 Dec 2013 16:17:56 +0000 (11:17 -0500)
committerJamie McClelland <jm@mayfirst.org>
Tue, 3 Dec 2013 16:17:56 +0000 (11:17 -0500)
CRM/Mailing/BAO/MailingJob.php

index 51417a320374d93e62417802c5b0444ecc6891ed..2329d2c3a8acb7e270b8ac1bd9bbc56c16234f9f 100644 (file)
@@ -518,11 +518,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7)
     $fields = array();
 
     if (!empty($testParams)) {
-      $mailing->from_name = ts(
-        'CiviCRM Test Mailer (%1)',
-        array(1 => $mailing->from_name)
-      );
-      $mailing->subject = ts('Test Mailing:') . ' ' . $mailing->subject;
+      $mailing->subject = ts('CiviMail Draft -') . ' ' . $mailing->subject;
     }
 
     CRM_Mailing_BAO_Mailing::tokenReplace($mailing);