1
0
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:
David Bomba 2022-05-14 06:40:59 +10:00
parent 202ab0357c
commit 641fd20ef2

View File

@ -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));