summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-08-27 16:59:37 -0700
committerMark Wells <mark@freeside.biz>2013-08-27 16:59:37 -0700
commit92fec248ff22a3c2c805e85d94daaff70a53d960 (patch)
tree6517cf4680327cfb714509e394e1ad81d292166e /FS/bin/freeside-daily
parenta223a9cc2dca2529a77fa2a45c7c088b59a66f61 (diff)
send credit card expiration alerts with billing events, #13201
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 d6132587b..e6cb0dcd6 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.