diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 80b5a4dd0fba..2d39f48908cc 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -69,8 +69,6 @@ class SetupController extends Controller } if ($check['system_health'] === false) { - nlog($check); - return response('Oops, something went wrong. Check your logs.'); /* We should never reach this block, but just in case. */ } diff --git a/app/Listeners/Invoice/InvoiceEmailedNotification.php b/app/Listeners/Invoice/InvoiceEmailedNotification.php index 09d56d53491a..f6a083b3ea37 100644 --- a/app/Listeners/Invoice/InvoiceEmailedNotification.php +++ b/app/Listeners/Invoice/InvoiceEmailedNotification.php @@ -66,7 +66,6 @@ class InvoiceEmailedNotification implements ShouldQueue if (($key = array_search('mail', $methods))) { unset($methods[$key]); - $nmo->to_user = $user; NinjaMailerJob::dispatch($nmo);