summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-01-27 22:56:04 -0800
committerMark Wells <mark@freeside.biz>2015-01-27 22:56:04 -0800
commitfa298c55a9e276ef714f1e6dbf11ae3931ad8684 (patch)
treef825d0acabbc98ae3d688baf089824c620facd5c /FS/FS
parent167c155032545af623972ffb449455810d0a2b78 (diff)
reject "old-style" latex templates
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/Template_Mixin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 996cb55a4..00cea1a21 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -347,8 +347,8 @@ sub print_generic {
if ( $format eq 'latex' && grep { /^%%Detail/ } @invoice_template ) {
#change this to a die when the old code is removed
- # it's been almost ten years, changing it to a die on the next release.
- warn "old-style invoice template $templatefile; ".
+ # it's been almost ten years, changing it to a die
+ die "old-style invoice template $templatefile; ".
"patch with conf/invoice_latex.diff or use new conf/invoice_latex*\n";
#$old_latex = 'true';
#@invoice_template = _translate_old_latex_format(@invoice_template);