diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2017-08-22 10:36:04 -0400 | 
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-06-20 10:10:25 -0400 | 
| commit | 1050eff6d30a010c88bbd2e4aa28f1898b059ee3 (patch) | |
| tree | b3bef86dc6e0de5c20d17ce891ce00443c32f45a /FS | |
| parent | c883d44a1e9a48505ba2427cf17d39595c38092c (diff) | |
RT# 73964 - Changed global config send-to-domain to email-to-voice_domain
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/Conf.pm | 2 | ||||
| -rw-r--r-- | FS/FS/cust_main_Mixin.pm | 2 | ||||
| -rw-r--r-- | FS/FS/part_event/Action/notice_to_emailtovoice.pm | 6 | 
3 files changed, 5 insertions, 5 deletions
| diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 31a5ec89d..1e9a5f48d 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1012,7 +1012,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 acce28c9c..aa0395a4a 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -406,7 +406,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 ae766e81b..a3a5e9824 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); | 
