Use old notification handler for admin notifications

This commit is contained in:
Nabeel Shahzad 2021-06-18 11:33:02 -04:00
parent 35359b8646
commit 24fca650f8

View File

@ -58,8 +58,8 @@ class NotificationEventsHandler extends Listener
} }
try { try {
$this->notifyUser($user, $notification); // $this->notifyUser($user, $notification);
// Notification::send([$user], $notification); Notification::send([$user], $notification);
} catch (Exception $e) { } catch (Exception $e) {
Log::emergency('Error emailing admin ('.$user->email.'). Error='.$e->getMessage()); Log::emergency('Error emailing admin ('.$user->email.'). Error='.$e->getMessage());
} }