From af4463a31677181a21df0cde767cc11728cfeb0c Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 3 Jun 2012 23:24:57 -0700 Subject: [PATCH] cleanup --- FS/FS/cust_bill_pkg.pm | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 6551ca829..e866a3f2d 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -955,8 +955,6 @@ sub cust_bill_pkg_display { my $default = new FS::cust_bill_pkg_display { billpkgnum =>$self->billpkgnum }; - return ( $default ) unless defined dbdef->table('cust_bill_pkg_display');#hmmm - my $type = $opt{type} if exists $opt{type}; my @result; @@ -1043,19 +1041,8 @@ sub cust_bill_pkg_discount { =cut -sub recur_show_zero { - #my $self = shift; - # $self->recur == 0 - #&& $self->pkgnum - #&& $self->cust_pkg->part_pkg->recur_show_zero; - - shift->_X_show_zero('recur'); - -} - -sub setup_show_zero { - shift->_X_show_zero('setup'); -} +sub recur_show_zero { shift->_X_show_zero('recur'); } +sub setup_show_zero { shift->_X_show_zero('setup'); } sub _X_show_zero { my( $self, $what ) = @_; -- 2.11.0