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

Fix comment

This commit is contained in:
lukinovec 2022-12-07 06:48:08 +01:00
parent f77d56aea7
commit 8522ea3b4b

View file

@ -44,8 +44,7 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
public function bootstrap(Tenant $tenant): void public function bootstrap(Tenant $tenant): void
{ {
// Bind fresh mail manager instance to clear the cached mailers // Forget the mail manager instance to clear the cached mailers
// So that the manager is forced to resolve the mailers with the correct credentials from the config
$this->app->forgetInstance('mail.manager'); $this->app->forgetInstance('mail.manager');
$this->setConfig($tenant); $this->setConfig($tenant);