From 820070925a77e3827a086b9172ff1447e9f49b7e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 8 Aug 2022 12:50:01 +1000 Subject: [PATCH] Clean up logging --- app/Mail/Engine/InvoiceEmailEngine.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Mail/Engine/InvoiceEmailEngine.php b/app/Mail/Engine/InvoiceEmailEngine.php index 66007e9f4ed5..b62f402ec0dc 100644 --- a/app/Mail/Engine/InvoiceEmailEngine.php +++ b/app/Mail/Engine/InvoiceEmailEngine.php @@ -96,12 +96,9 @@ class InvoiceEmailEngine extends BaseEmailEngine if (is_array($this->template_data) && array_key_exists('subject', $this->template_data) && strlen($this->template_data['subject']) > 0) { $subject_template = $this->template_data['subject']; - nlog('subject = template data'); } elseif (strlen($this->client->getSetting('email_subject_'.$this->reminder_template)) > 0) { $subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template); - nlog('subject = settings var'); } else { - nlog('subject = default template '.'email_subject_'.$this->reminder_template); $subject_template = EmailTemplateDefaults::getDefaultTemplate('email_subject_'.$this->reminder_template, $this->client->locale()); // $subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template); }