mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01: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()
|
||||
{
|
||||
App::forgetInstance('translator');
|
||||
|
||||
if($this->company)
|
||||
App::setLocale($this->company->getLocale());
|
||||
|
||||
$t = app('translator');
|
||||
$t->replace(Ninja::transformTranslations($this->settings));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user