Bug 30838: Don't fallback through phone numbers for sms
This patch removes the fallback handling for smsalartnumber as the to_address in notices. We ignore the to_address field in the message queue at send time for sms anyway and use smsalertnumber exclusively so having this field populated is just confusing to the end user Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a85d08c765
commit
5e388ed509
|
|
@ -185,9 +185,6 @@ sub _to_address {
|
|||
|| $borrower->{B_email};
|
||||
} elsif ($transport eq 'sms') {
|
||||
$address = $borrower->{smsalertnumber}
|
||||
|| $borrower->{phone}
|
||||
|| $borrower->{phonepro}
|
||||
|| $borrower->{B_phone};
|
||||
} else {
|
||||
warn "'$transport' is an unknown message transport.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue