@@ -33,8 +33,7 @@ |
||
33 | 33 | { |
34 | 34 | // |
35 | 35 | $notificationType = UserSettingType::where('name', 'Receive Email Notifications')->first(); |
36 | - $userList = User::whereHas('UserSetting', function($q) use ($notificationType) |
|
37 | - { |
|
36 | + $userList = User::whereHas('UserSetting', function($q) use ($notificationType) { |
|
38 | 37 | $q->where('setting_type_id', $notificationType->setting_type_id)->where('value', true); |
39 | 38 | })->get(); |
40 | 39 |