Merge pull request #4916 from turbo124/v5-develop

Wire up settings in mailer job
This commit is contained in:
David Bomba 2021-02-16 21:56:08 +11:00 committed by GitHub
commit 943bede7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,11 +47,14 @@ class NinjaMailerJob implements ShouldQueue
public $nmo; public $nmo;
public $settings;
public function __construct(NinjaMailerObject $nmo) public function __construct(NinjaMailerObject $nmo)
{ {
$this->nmo = $nmo; $this->nmo = $nmo;
$this->settings = $nmo->settings;
} }
public function handle() public function handle()