mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
remove alert emails from cc
This commit is contained in:
parent
56365495a1
commit
ce68f550d8
|
@ -55,10 +55,6 @@ class CheckoutableListener
|
||||||
$alertsEmailsArray = [];
|
$alertsEmailsArray = [];
|
||||||
$adminCcEmailsArray = [];
|
$adminCcEmailsArray = [];
|
||||||
|
|
||||||
if($settings->alert_email !== '') {
|
|
||||||
$emailsArray = $settings->alert_email;
|
|
||||||
$alertsEmailsArray = array_map('trim', explode(',', $emailsArray));
|
|
||||||
}
|
|
||||||
if($settings->admin_cc_email !== '') {
|
if($settings->admin_cc_email !== '') {
|
||||||
$adminCcEmail = $settings->admin_cc_email;
|
$adminCcEmail = $settings->admin_cc_email;
|
||||||
$adminCcEmailsArray = array_map('trim', explode(',', $adminCcEmail));
|
$adminCcEmailsArray = array_map('trim', explode(',', $adminCcEmail));
|
||||||
|
@ -128,10 +124,6 @@ class CheckoutableListener
|
||||||
$alertsEmailsArray = [];
|
$alertsEmailsArray = [];
|
||||||
$adminCcEmailsArray = [];
|
$adminCcEmailsArray = [];
|
||||||
|
|
||||||
if($settings->alert_email !== '') {
|
|
||||||
$emailsArray = $settings->alert_email;
|
|
||||||
$alertsEmailsArray = array_map('trim', explode(',', $emailsArray));
|
|
||||||
}
|
|
||||||
if($settings->admin_cc_email !== '') {
|
if($settings->admin_cc_email !== '') {
|
||||||
$adminCcEmail = $settings->admin_cc_email;
|
$adminCcEmail = $settings->admin_cc_email;
|
||||||
$adminCcEmailsArray = array_map('trim', explode(',', $adminCcEmail));
|
$adminCcEmailsArray = array_map('trim', explode(',', $adminCcEmail));
|
||||||
|
|
Loading…
Reference in a new issue