summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-08-22 10:36:04 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-06-12 13:46:20 -0400
commit20662e6bb4ef329b4be8d53ed2a3968d2e35f4a1 (patch)
tree5eee98f178047cdce728f0ff6cf7cdb12fc30a64 /FS
parent91681d4c4832030a86e8565d7ec2c46c94eebc8d (diff)
RT# 73964 - Changed global config send-to-domain to email-to-voice_domain
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Conf.pm2
-rw-r--r--FS/FS/cust_main_Mixin.pm2
-rw-r--r--FS/FS/part_event/Action/notice_to_emailtovoice.pm6
3 files changed, 5 insertions, 5 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 604d0ca..8dc74e9 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -929,7 +929,7 @@ my $validate_email = sub { $_[0] =~
},
{
- 'key' => 'send-to-domain',
+ 'key' => 'email-to-voice_domain',
'section' => 'email_to_voice_services',
'description' => 'The Domain to send email to voice to',
'type' => 'text',
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
index 7eeb9c9..8b6569a 100644
--- a/FS/FS/cust_main_Mixin.pm
+++ b/FS/FS/cust_main_Mixin.pm
@@ -409,7 +409,7 @@ sub email_search_result {
my($class, $param) = @_;
my $conf = FS::Conf->new;
- my $send_to_domain = $conf->config('send-to-domain');
+ my $send_to_domain = $conf->config('email-to-voice_domain');
my $msgnum = $param->{msgnum};
my $from = delete $param->{from};
diff --git a/FS/FS/part_event/Action/notice_to_emailtovoice.pm b/FS/FS/part_event/Action/notice_to_emailtovoice.pm
index ae766e8..a3a5e98 100644
--- a/FS/FS/part_event/Action/notice_to_emailtovoice.pm
+++ b/FS/FS/part_event/Action/notice_to_emailtovoice.pm
@@ -23,7 +23,7 @@ sub eventtable_hashref {
sub option_fields {
#my $conf = new FS::Conf;
- #my $to_domain = $conf->config('send-to-domain');
+ #my $to_domain = $conf->config('email-to-voice_domain');
(
'to_name' => { 'label' => 'Address To',
@@ -33,7 +33,7 @@ sub option_fields {
'fax' => 'Fax #',
'daytime' => 'Day Time #',
},
- 'post_field_label' => "@" , #. $to_domain ,
+ 'post_field_label' => "@", # . $to_domain ,
},
'msgnum' => { 'label' => 'Template',
@@ -53,7 +53,7 @@ sub do_action {
my( $self, $object ) = @_;
my $conf = new FS::Conf;
- my $to_domain = $conf->config('send-to-domain')
+ my $to_domain = $conf->config('email-to-voice_domain')
or die "Can't send notice with out send-to-domain, being set in global config \n";
my $cust_main = $self->cust_main($object);