mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed #5186 - email being sent to admin as well as user on checkout
This should be introduced as a setting, but not arbitrarily send
This commit is contained in:
parent
bcd02ce718
commit
d0f14d7a3c
|
@ -67,7 +67,7 @@ trait Loggable
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($settings = Setting::getSettings()) {
|
if ($settings = Setting::getSettings()) {
|
||||||
$settings->notify(new CheckoutNotification($params));
|
// $settings->notify(new CheckoutNotification($params));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (method_exists($target, 'notify')) {
|
if (method_exists($target, 'notify')) {
|
||||||
|
|
Loading…
Reference in a new issue