mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Consistent event naming
This commit is contained in:
parent
3617a7fea8
commit
b09cf7b262
@ -1,3 +1,6 @@
|
||||
* **Build 11x** (2014-07-xx)
|
||||
- Important! All references to *Email* have been changed to *Mail* and renaming may be required in plugins.
|
||||
|
||||
* **Build 114** (2014-07-03)
|
||||
- Created a new Record Finder form widget for searching related records.
|
||||
- All instances now use the Cron queue driver by default (see config queue.default).
|
||||
|
@ -109,7 +109,7 @@ class ServiceProvider extends ModuleServiceProvider
|
||||
* Override standard Mailer content with template
|
||||
*/
|
||||
Event::listen('mailer.register', function($provider, $mailer) {
|
||||
$mailer->bindEvent('beforeAddContent', function($message, $view, $plain, $data){
|
||||
$mailer->bindEvent('mailer.beforeAddContent', function($message, $view, $plain, $data){
|
||||
if (MailTemplate::addContentToMailer($message, $view, $data))
|
||||
return false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user