[freeside-commits] freeside/FS/bin freeside-expiration-alerter, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Wed Nov 7 16:59:37 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv16758/FS/bin
Modified Files:
freeside-expiration-alerter
Log Message:
for new installs, centralize some stuff that was spread around different config files.
Index: freeside-expiration-alerter
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-expiration-alerter,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freeside-expiration-alerter 1 Dec 2006 01:35:24 -0000 1.6
+++ freeside-expiration-alerter 8 Nov 2007 00:59:35 -0000 1.7
@@ -138,6 +138,10 @@
}
$FS::alerter::_template::expdate = $expire_time;
+ $FS::alerter::_template::company_name = $conf->config('company_name');
+ $FS::alerter::_template::company_address =
+ join("\n", $conf->config('company_address') ). "\n";
+
my $message = new Mail::Internet (
'Header' => $header,
'Body' => [ $alerter->fill_in( PACKAGE => 'FS::alerter::_template' ) ],
More information about the freeside-commits
mailing list