mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
no message
This commit is contained in:
1 parent
8a774dd4fa
commit
aa37b6be0b
2 files changed
-36
No files matched your search
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Listeners;
|
||||
|
||||
use App\Events\SubTaskCreated;
|
||||
use App\Mail\NewTask;
|
||||
use App\Mail\PasswordReset;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
|
||||
class SendNewTaskEmailNotification implements ShouldQueue
|
||||
{
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param \App\Events\SubTaskCreated $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(SubTaskCreated $event)
|
||||
{
|
||||
// Mail::to( $event->subtask->user->email )->send( new NewTask( $event->subtask ) );
|
||||
Mail::to( 'feher@studiotem.com' )->send( new NewTask( $event->subtask ) );
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
New task created: {{ $subtask->mastertask->title }}
|
||||
Reference in new issue
Block a user