1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +00:00

Update comment

This commit is contained in:
lukinovec 2022-12-06 10:22:47 +01:00
parent aeef8dbce1
commit 3ed173d40f

View file

@ -45,8 +45,8 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
public function bootstrap(Tenant $tenant): void public function bootstrap(Tenant $tenant): void
{ {
// Use custom mail manager that resolves the mailers specified in its $tenantMailers static property // Bind fresh mail manager instance to clear the cached mailers
// Instead of getting the cached mailers from the $mailers property // So that the manager is forced to resolve the mailers with the correct credentials from the config
$this->bindNewMailManagerInstance(); $this->bindNewMailManagerInstance();
$this->setConfig($tenant); $this->setConfig($tenant);