From d0f14d7a3c2b85eabe077ae7985624b02e0e4163 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 22 Mar 2018 20:30:45 -0700 Subject: [PATCH] Fixed #5186 - email being sent to admin as well as user on checkout This should be introduced as a setting, but not arbitrarily send --- app/Models/Loggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Loggable.php b/app/Models/Loggable.php index 3674b21788..38f1619d32 100644 --- a/app/Models/Loggable.php +++ b/app/Models/Loggable.php @@ -67,7 +67,7 @@ trait Loggable ]; if ($settings = Setting::getSettings()) { - $settings->notify(new CheckoutNotification($params)); + // $settings->notify(new CheckoutNotification($params)); } if (method_exists($target, 'notify')) {