X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-daily;fp=FS%2Fbin%2Ffreeside-daily;h=14d797f4958a34aa3d01972dc514df11a1b45431;hb=06025b02ef920d4994442477ff43be7d2d6ae89b;hp=b6ee5188ef2a58b2e047aeceaa80808172c9ff57;hpb=267020ff22d48bb82a02a13525f0e0844ef4d6bd;p=freeside.git 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.