X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-censustract-update;h=27a17be366601b866e00cd4f56a67affed6fde71;hb=c564754d5f17c616782fb27432e6b056bd8fa00d;hp=f9b6d119705322fb70a75c9b464ed1ea2ccbbc2d;hpb=1fc8addc56f8daf12397da568eb1ac1b27fd3984;p=freeside.git diff --git a/FS/bin/freeside-censustract-update b/FS/bin/freeside-censustract-update index f9b6d1197..27a17be36 100755 --- a/FS/bin/freeside-censustract-update +++ b/FS/bin/freeside-censustract-update @@ -18,8 +18,7 @@ $FS::UID::AutoCommit = 0; my $dbh = dbh; my $conf = FS::Conf->new; -my $current_year = $conf->config('census_year') - or die "No current census year configured.\n"; +my $current_year = $conf->config('census_legacy') || '2020'; my $date = str2time($opt{d}) if $opt{d}; $date ||= time; # This now operates on cust_location, not cust_main.