summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-09-03 22:52:26 -0700
committerIvan Kohler <ivan@freeside.biz>2013-09-03 22:52:26 -0700
commit36ad5e538cb56de33c779e34baf9abdf63c4312e (patch)
treede42d922496c881b69643656f055b68e64e96d72 /FS/bin/freeside-daily
parent04c1a98c9bcf2b6f0da8f18b627eec703dbafd49 (diff)
parentaae697565c071b2880d0106b00a4a01d0ddab7bf (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-xFS/bin/freeside-daily9
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.