Committed by
GitHub
Merge pull request #362 from DaneEveritt/patch-1
Queue confirmation emails.
Showing
1 changed file
with
5 additions
and
1 deletions
| ... | @@ -2,12 +2,16 @@ | ... | @@ -2,12 +2,16 @@ |
| 2 | 2 | ||
| 3 | namespace BookStack\Notifications; | 3 | namespace BookStack\Notifications; |
| 4 | 4 | ||
| 5 | +use Illuminate\Bus\Queueable; | ||
| 5 | use Illuminate\Notifications\Notification; | 6 | use Illuminate\Notifications\Notification; |
| 7 | +use Illuminate\Contracts\Queue\ShouldQueue; | ||
| 6 | use Illuminate\Notifications\Messages\MailMessage; | 8 | use Illuminate\Notifications\Messages\MailMessage; |
| 7 | 9 | ||
| 8 | -class ConfirmEmail extends Notification | 10 | +class ConfirmEmail extends Notification implements ShouldQueue |
| 9 | { | 11 | { |
| 10 | 12 | ||
| 13 | + use Queueable; | ||
| 14 | + | ||
| 11 | public $token; | 15 | public $token; |
| 12 | 16 | ||
| 13 | /** | 17 | /** | ... | ... |
-
Please register or sign in to post a comment