mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-07-07 20:02:40 +00:00
Queue confirmation emails.
Implements Laravel's queue abilities into the email notification job. Should not affect existing installations that are not using queues as the environment file defaults to `sync`.
This commit is contained in:
parent
cc0ce7c630
commit
786262db3b
|
@ -3,11 +3,14 @@
|
||||||
namespace BookStack\Notifications;
|
namespace BookStack\Notifications;
|
||||||
|
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
|
|
||||||
class ConfirmEmail extends Notification
|
class ConfirmEmail extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
|
|
||||||
|
use Queueable;
|
||||||
|
|
||||||
public $token;
|
public $token;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user