From 24fca650f8baf53d372d7fad373fcbad8c94de57 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Fri, 18 Jun 2021 11:33:02 -0400 Subject: [PATCH] Use old notification handler for admin notifications --- app/Notifications/NotificationEventsHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/NotificationEventsHandler.php b/app/Notifications/NotificationEventsHandler.php index b1433b8f..86b9d453 100644 --- a/app/Notifications/NotificationEventsHandler.php +++ b/app/Notifications/NotificationEventsHandler.php @@ -58,8 +58,8 @@ class NotificationEventsHandler extends Listener } try { - $this->notifyUser($user, $notification); - // Notification::send([$user], $notification); + // $this->notifyUser($user, $notification); + Notification::send([$user], $notification); } catch (Exception $e) { Log::emergency('Error emailing admin ('.$user->email.'). Error='.$e->getMessage()); }