old config alert_expiration should have been migrated already by v5
authorIvan Kohler <ivan@freeside.biz>
Sun, 26 Nov 2017 21:36:54 +0000 (13:36 -0800)
committerIvan Kohler <ivan@freeside.biz>
Sun, 26 Nov 2017 21:36:54 +0000 (13:36 -0800)
FS/bin/freeside-daily

index e0c555f..f1b7e58 100755 (executable)
@@ -55,14 +55,6 @@ tax_rate_update(%opt);
 use FS::Cron::set_lata_have_usage qw(set_lata_have_usage);
 set_lata_have_usage(%opt);
 
 use FS::Cron::set_lata_have_usage qw(set_lata_have_usage);
 set_lata_have_usage(%opt);
 
-# we used to send alerts about upcoming credit card expiration here
-my $conf = new FS::Conf;
-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.
 
 #you don't want to skip this, besides, it should be cheap
 #what to do about the below when using -m?  that is the question.
 
 #you don't want to skip this, besides, it should be cheap