summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg/base_rate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_pkg/base_rate.pm')
-rw-r--r--FS/FS/part_pkg/base_rate.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/FS/FS/part_pkg/base_rate.pm b/FS/FS/part_pkg/base_rate.pm
index 9e64184..04896e0 100644
--- a/FS/FS/part_pkg/base_rate.pm
+++ b/FS/FS/part_pkg/base_rate.pm
@@ -43,7 +43,6 @@ sub calc_setup {
sub calc_recur {
my($self, $cust_pkg) = @_;
- $self->reset_usage($cust_pkg);
$self->base_recur($cust_pkg);
}
@@ -91,12 +90,4 @@ sub is_prepaid {
0; #no, we're postpaid
}
-sub reset_usage {
- my($self, $cust_pkg) = @_;
- my %values = map { $_, $self->option($_) }
- grep { $self->option($_, 'hush') }
- qw(seconds upbytes downbytes totalbytes);
- $cust_pkg->set_usage(\%values);
-}
-
1;