Let notification to the users be queue-able

This commit is contained in:
Luke Policinski 2018-11-12 14:04:45 -05:00 committed by GitHub
parent 47000c999b
commit 3788d43906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ namespace CachetHQ\Cachet\Notifications\Schedule;
use CachetHQ\Cachet\Models\Schedule; use CachetHQ\Cachet\Models\Schedule;
use Illuminate\Bus\Queueable; use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\NexmoMessage; use Illuminate\Notifications\Messages\NexmoMessage;
use Illuminate\Notifications\Messages\SlackMessage; use Illuminate\Notifications\Messages\SlackMessage;
@ -24,7 +25,7 @@ use McCool\LaravelAutoPresenter\Facades\AutoPresenter;
* *
* @author James Brooks <james@alt-three.com> * @author James Brooks <james@alt-three.com>
*/ */
class NewScheduleNotification extends Notification class NewScheduleNotification extends Notification implements ShouldQueue
{ {
use Queueable; use Queueable;