diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-09-25 17:06:44 -0500 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-11-09 16:51:05 -0800 |
commit | dc9b5a11c48ebdbcf907b6c009fb3f2a36847b05 (patch) | |
tree | 3799dac16fff113eb728624d6e5f375e9a30edeb /FS/FS/Misc.pm | |
parent | 7133b592b4bd28a9aa887f716cd7dc67a8bbdc7a (diff) |
RT#37908: Convert existing email-sending code to use common interface [switched jobs to use cust_msg::process_send, bug fix to http]
Diffstat (limited to 'FS/FS/Misc.pm')
-rw-r--r-- | FS/FS/Misc.pm | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm index cbf4495..18cb275 100644 --- a/FS/FS/Misc.pm +++ b/FS/FS/Misc.pm @@ -414,34 +414,6 @@ sub generate_email { } -=item process_send_email OPTION => VALUE ... - -Takes arguments as per generate_email() and sends the message. This -will die on any error and can be used in the job queue. - -=cut - -sub process_send_email { - my %message = @_; - my $error = send_email(generate_email(%message)); - die "$error\n" if $error; - ''; -} - -=item process_send_generated_email OPTION => VALUE ... - -Takes arguments as per send_email() and sends the message. This -will die on any error and can be used in the job queue. - -=cut - -sub process_send_generated_email { - my %args = @_; - my $error = send_email(%args); - die "$error\n" if $error; - ''; -} - =item send_fax OPTION => VALUE ... Options: |