mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for conflicts
This commit is contained in:
parent
27036dc71d
commit
79c598b13d
@ -42,9 +42,9 @@ class MailCssInlinerServiceProvider extends ServiceProvider
|
|||||||
return new CssInlinerPlugin([]);
|
return new CssInlinerPlugin([]);
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->app->afterResolving('mail.manager', function (MailManager $mailManager) {
|
// $this->app->afterResolving('mail.manager', function (MailManager $mailManager) {
|
||||||
$mailManager->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
// $mailManager->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
||||||
return $mailManager;
|
// return $mailManager;
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ class MailServiceProvider extends MailProvider
|
|||||||
|
|
||||||
protected function registerIlluminateMailer()
|
protected function registerIlluminateMailer()
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->app->singleton('mail.manager', function($app) {
|
$this->app->singleton('mail.manager', function($app) {
|
||||||
return new GmailTransportManager($app);
|
return new GmailTransportManager($app);
|
||||||
});
|
});
|
||||||
@ -50,7 +50,12 @@ class MailServiceProvider extends MailProvider
|
|||||||
);
|
);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$this->app->afterResolving('mail.manager', function (MailManager $mailManager) {
|
||||||
|
$mailManager->getSwiftMailer()->registerPlugin($this->app->make(CssInlinerPlugin::class));
|
||||||
|
return $mailManager;
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function guzzle(array $config): HttpClient
|
protected function guzzle(array $config): HttpClient
|
||||||
|
Loading…
x
Reference in New Issue
Block a user