Code cleanup

This commit is contained in:
David Bomba 2021-06-23 13:03:47 +10:00
parent d98bf747f7
commit 4eea13334e
2 changed files with 0 additions and 5 deletions

View File

@ -398,7 +398,6 @@ class CompanySettings extends BaseSettings
'email_template_reminder2' => 'string', 'email_template_reminder2' => 'string',
'email_template_reminder3' => 'string', 'email_template_reminder3' => 'string',
'email_template_reminder_endless' => 'string', 'email_template_reminder_endless' => 'string',
'enable_client_portal_password' => 'bool',
'inclusive_taxes' => 'bool', 'inclusive_taxes' => 'bool',
'invoice_number_pattern' => 'string', 'invoice_number_pattern' => 'string',
'invoice_number_counter' => 'integer', 'invoice_number_counter' => 'integer',

View File

@ -46,8 +46,6 @@ class GmailTransport extends Transport
$this->gmail = null; $this->gmail = null;
$this->gmail = new Mail; $this->gmail = new Mail;
nlog(array_keys($message->getBcc()));
/*We should nest the token in the message and then discard it as needed*/ /*We should nest the token in the message and then discard it as needed*/
$token = $message->getHeaders()->get('GmailToken')->getValue(); $token = $message->getHeaders()->get('GmailToken')->getValue();
@ -67,8 +65,6 @@ class GmailTransport extends Transport
foreach ($message->getChildren() as $child) foreach ($message->getChildren() as $child)
{ {
nlog("trying to attach");
if($child->getContentType() != 'text/plain') if($child->getContentType() != 'text/plain')
{ {