diff options
author | Mark Wells <mark@freeside.biz> | 2013-08-27 16:59:50 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-08-27 16:59:50 -0700 |
commit | 06025b02ef920d4994442477ff43be7d2d6ae89b (patch) | |
tree | 7999cc2f713de725dc933894e8b08ff97d71feac /FS/bin/freeside-daily | |
parent | 267020ff22d48bb82a02a13525f0e0844ef4d6bd (diff) |
send credit card expiration alerts with billing events, #13201
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-x | FS/bin/freeside-daily | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index b6ee5188e..14d797f49 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -38,10 +38,13 @@ upload(%opt); use FS::Cron::set_lata_have_usage qw(set_lata_have_usage); set_lata_have_usage(%opt); -# Send alerts about upcoming credit card expiration. -use FS::Cron::alert_expiration qw(alert_expiration); +# we used to send alerts about upcoming credit card expiration here my $conf = new FS::Conf; -alert_expiration(%opt) if($conf->exists('alert_expiration')); +if($conf->exists('alert_expiration')) { + warn "WARNING: the alert_expiration option is obsolete. If you ran + freeside-upgrade, it should have configured credit card expiration alerts + as billing events.\n"; +} #what to do about the below when using -m? that is the question. |