Mail Logger: cleanup CIVICRM_MAIL_LOG_AND SEND
authorMathieu Lu <mathieu@symbiotic.coop>
Mon, 18 Sep 2023 22:58:39 +0000 (18:58 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Mon, 18 Sep 2023 22:58:39 +0000 (18:58 -0400)
CRM/Utils/Mail/Logger.php

index 66e75b704b73c9a59d9be4fc72315d96933e67c5..80f51b6b6992afa30650a48d9d88e7401bf4dddc 100644 (file)
@@ -33,7 +33,7 @@ class CRM_Utils_Mail_Logger {
   public static function filter($mailer, &$recipients, &$headers, &$body) {
     if (defined('CIVICRM_MAIL_LOG')) {
       static::log($recipients, $headers, $body);
-      if (!defined('CIVICRM_MAIL_LOG_AND_SEND') && !defined('CIVICRM_MAIL_LOG_AND SEND')) {
+      if (!defined('CIVICRM_MAIL_LOG_AND_SEND')) {
         return TRUE;
       }
     }