mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for overriding ninja mailer
This commit is contained in:
parent
51999bd8a3
commit
9ddfe1ac6f
@ -63,6 +63,7 @@ class NinjaMailerJob implements ShouldQueue
|
|||||||
{
|
{
|
||||||
|
|
||||||
$this->nmo = $nmo;
|
$this->nmo = $nmo;
|
||||||
|
$this->override = $override;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ class Import implements ShouldQueue
|
|||||||
$this->{$method}($data[$import]);
|
$this->{$method}($data[$import]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
if(Ninja::isHosted() && array_key_exists('ninja_tokens', $data))
|
||||||
$this->processNinjaTokens($data['ninja_tokens']);
|
$this->processNinjaTokens($data['ninja_tokens']);
|
||||||
|
|
||||||
$this->setInitialCompanyLedgerBalances();
|
$this->setInitialCompanyLedgerBalances();
|
||||||
|
Loading…
Reference in New Issue
Block a user