Remove locale from companydeleted mailable

This commit is contained in:
David Bomba 2022-01-16 19:55:16 +11:00
parent bee623af75
commit c507bc8203

View File

@ -48,7 +48,6 @@ class CompanyDeleted extends Mailable
*/ */
public function build() public function build()
{ {
App::setLocale($this->company->getLocale());
return $this->from(config('mail.from.address'), config('mail.from.name')) return $this->from(config('mail.from.address'), config('mail.from.name'))
->subject(ctrans('texts.company_deleted')) ->subject(ctrans('texts.company_deleted'))