@@ -19,8 +19,7 @@ |
||
19 | 19 | if($event->notify) |
20 | 20 | { |
21 | 21 | $notificationType = UserSettingType::where('name', 'Receive Email Notifications')->first(); |
22 | - $userList = User::whereHas('UserSetting', function($q) use ($notificationType) |
|
23 | - { |
|
22 | + $userList = User::whereHas('UserSetting', function($q) use ($notificationType) { |
|
24 | 23 | $q->where('setting_type_id', $notificationType->setting_type_id)->where('value', true); |
25 | 24 | })->get(); |
26 | 25 |