mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Code cleanup
This commit is contained in:
parent
d98bf747f7
commit
4eea13334e
@ -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',
|
||||||
|
@ -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')
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user