mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:34:30 -04:00
Minor fixes for deleted company mail
This commit is contained in:
parent
202ab0357c
commit
641fd20ef2
@ -50,10 +50,6 @@ class CompanyDeleted extends Mailable
|
|||||||
public function build()
|
public function build()
|
||||||
{
|
{
|
||||||
App::forgetInstance('translator');
|
App::forgetInstance('translator');
|
||||||
|
|
||||||
if($this->company)
|
|
||||||
App::setLocale($this->company->getLocale());
|
|
||||||
|
|
||||||
$t = app('translator');
|
$t = app('translator');
|
||||||
$t->replace(Ninja::transformTranslations($this->settings));
|
$t->replace(Ninja::transformTranslations($this->settings));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user