From b274d41e403340566c9e45b318a1aeaa51dc0ae6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 11 Feb 2021 23:58:36 +1100 Subject: [PATCH] Remove queuable --- app/Notifications/Admin/EntitySentNotification.php | 2 +- app/Notifications/Admin/EntityViewedNotification.php | 2 +- app/Notifications/Admin/InvoiceSentNotification.php | 2 +- app/Notifications/Admin/InvoiceViewedNotification.php | 2 +- app/Notifications/Admin/NewPartialPaymentNotification.php | 2 +- app/Notifications/Admin/NewPaymentNotification.php | 2 +- app/Notifications/BaseNotification.php | 2 +- app/Notifications/ClientContactRequestCancellation.php | 2 +- app/Notifications/ClientContactResetPassword.php | 2 +- app/Notifications/GmailTestNotification.php | 2 +- app/Notifications/Ninja/VerifyUser.php | 2 +- app/Notifications/ResetPasswordNotification.php | 2 +- app/Notifications/SendGenericNotification.php | 6 +++--- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/Notifications/Admin/EntitySentNotification.php b/app/Notifications/Admin/EntitySentNotification.php index 61f24b4a0f12..53dc0e75d73a 100644 --- a/app/Notifications/Admin/EntitySentNotification.php +++ b/app/Notifications/Admin/EntitySentNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class EntitySentNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + //use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Admin/EntityViewedNotification.php b/app/Notifications/Admin/EntityViewedNotification.php index 7b3df1e14a76..71b08a29d151 100644 --- a/app/Notifications/Admin/EntityViewedNotification.php +++ b/app/Notifications/Admin/EntityViewedNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class EntityViewedNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + //use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Admin/InvoiceSentNotification.php b/app/Notifications/Admin/InvoiceSentNotification.php index 8c101c1b777f..ee5e02b27014 100644 --- a/app/Notifications/Admin/InvoiceSentNotification.php +++ b/app/Notifications/Admin/InvoiceSentNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class InvoiceSentNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + //use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Admin/InvoiceViewedNotification.php b/app/Notifications/Admin/InvoiceViewedNotification.php index b8e196f16fd0..37c77c578f35 100644 --- a/app/Notifications/Admin/InvoiceViewedNotification.php +++ b/app/Notifications/Admin/InvoiceViewedNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class InvoiceViewedNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + //use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Admin/NewPartialPaymentNotification.php b/app/Notifications/Admin/NewPartialPaymentNotification.php index d05d29e7fb98..f736f689525f 100644 --- a/app/Notifications/Admin/NewPartialPaymentNotification.php +++ b/app/Notifications/Admin/NewPartialPaymentNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class NewPartialPaymentNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Admin/NewPaymentNotification.php b/app/Notifications/Admin/NewPaymentNotification.php index 3f704a34aa1a..fcc147f761b6 100644 --- a/app/Notifications/Admin/NewPaymentNotification.php +++ b/app/Notifications/Admin/NewPaymentNotification.php @@ -23,7 +23,7 @@ use Illuminate\Queue\SerializesModels; class NewPaymentNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/BaseNotification.php b/app/Notifications/BaseNotification.php index 3928c309b6ac..3e23164bcda2 100644 --- a/app/Notifications/BaseNotification.php +++ b/app/Notifications/BaseNotification.php @@ -20,7 +20,7 @@ use Illuminate\Notifications\Notification; class BaseNotification extends Notification implements ShouldQueue { - use Queueable; + // use Queueable; use MakesInvoiceHtml; /** diff --git a/app/Notifications/ClientContactRequestCancellation.php b/app/Notifications/ClientContactRequestCancellation.php index f1f0c424b6c8..f9e1b62863ad 100644 --- a/app/Notifications/ClientContactRequestCancellation.php +++ b/app/Notifications/ClientContactRequestCancellation.php @@ -24,7 +24,7 @@ use Illuminate\Support\Facades\Mail; class ClientContactRequestCancellation extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/ClientContactResetPassword.php b/app/Notifications/ClientContactResetPassword.php index ce53ec8bd3e8..4766410778ab 100644 --- a/app/Notifications/ClientContactResetPassword.php +++ b/app/Notifications/ClientContactResetPassword.php @@ -21,7 +21,7 @@ use Illuminate\Queue\SerializesModels; class ClientContactResetPassword extends Notification { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * The password reset token. * diff --git a/app/Notifications/GmailTestNotification.php b/app/Notifications/GmailTestNotification.php index 8fc9b175081d..404b5f22c6ac 100644 --- a/app/Notifications/GmailTestNotification.php +++ b/app/Notifications/GmailTestNotification.php @@ -21,7 +21,7 @@ use Illuminate\Queue\SerializesModels; class GmailTestNotification extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/Ninja/VerifyUser.php b/app/Notifications/Ninja/VerifyUser.php index 8a3d1cafb08b..0e29ff879f9c 100644 --- a/app/Notifications/Ninja/VerifyUser.php +++ b/app/Notifications/Ninja/VerifyUser.php @@ -21,7 +21,7 @@ use Illuminate\Queue\SerializesModels; class VerifyUser extends Notification implements ShouldQueue { - use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; + // use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * Create a new notification instance. diff --git a/app/Notifications/ResetPasswordNotification.php b/app/Notifications/ResetPasswordNotification.php index 3065168f3333..ff1162fa2dd6 100644 --- a/app/Notifications/ResetPasswordNotification.php +++ b/app/Notifications/ResetPasswordNotification.php @@ -8,7 +8,7 @@ use Illuminate\Notifications\Notification; class ResetPasswordNotification extends Notification { - use Queueable; +// use Queueable; public $token; diff --git a/app/Notifications/SendGenericNotification.php b/app/Notifications/SendGenericNotification.php index af305a4578d3..01b5d5e373f0 100644 --- a/app/Notifications/SendGenericNotification.php +++ b/app/Notifications/SendGenericNotification.php @@ -23,9 +23,9 @@ use Illuminate\Queue\SerializesModels; class SendGenericNotification extends BaseNotification implements ShouldQueue { - use Queueable; - use Dispatchable; - use SerializesModels; + // use Queueable; + // use Dispatchable; + // use SerializesModels; /** * Create a new notification instance.