Use old notification handler for admin notifications
This commit is contained in:
parent
35359b8646
commit
24fca650f8
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user