mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Clean up logging
This commit is contained in:
parent
6be2828abf
commit
820070925a
@ -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) {
|
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'];
|
$subject_template = $this->template_data['subject'];
|
||||||
nlog('subject = template data');
|
|
||||||
} elseif (strlen($this->client->getSetting('email_subject_'.$this->reminder_template)) > 0) {
|
} elseif (strlen($this->client->getSetting('email_subject_'.$this->reminder_template)) > 0) {
|
||||||
$subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template);
|
$subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template);
|
||||||
nlog('subject = settings var');
|
|
||||||
} else {
|
} else {
|
||||||
nlog('subject = default template '.'email_subject_'.$this->reminder_template);
|
|
||||||
$subject_template = EmailTemplateDefaults::getDefaultTemplate('email_subject_'.$this->reminder_template, $this->client->locale());
|
$subject_template = EmailTemplateDefaults::getDefaultTemplate('email_subject_'.$this->reminder_template, $this->client->locale());
|
||||||
// $subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template);
|
// $subject_template = $this->client->getSetting('email_subject_'.$this->reminder_template);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user