]> BookStack Code Mirror - bookstack/commitdiff
Merge pull request #362 from DaneEveritt/patch-1
authorDan Brown <redacted>
Sun, 23 Apr 2017 16:15:06 +0000 (17:15 +0100)
committerGitHub <redacted>
Sun, 23 Apr 2017 16:15:06 +0000 (17:15 +0100)
Queue confirmation emails.

app/Notifications/ConfirmEmail.php

index 64d9bb9acb6494ebf3c0db1b6e884e34b9d86d99..27ac89c329c3f09e8d784b047267e1b3b1afda44 100644 (file)
@@ -2,12 +2,16 @@
 
 namespace BookStack\Notifications;
 
+use Illuminate\Bus\Queueable;
 use Illuminate\Notifications\Notification;
+use Illuminate\Contracts\Queue\ShouldQueue;
 use Illuminate\Notifications\Messages\MailMessage;
 
-class ConfirmEmail extends Notification
+class ConfirmEmail extends Notification implements ShouldQueue
 {
 
+    use Queueable;
+    
     public $token;
 
     /**