X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2Fbin%2Ffreeside-daily;h=14d797f4958a34aa3d01972dc514df11a1b45431;hb=c7bc6770f2f0b4413b788f8fc9abde6ad5548da3;hp=b6ee5188ef2a58b2e047aeceaa80808172c9ff57;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;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.