summaryrefslogtreecommitdiff
path: root/FS/FS/svc_acct.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2019-05-21 11:53:04 -0700
committerIvan Kohler <ivan@freeside.biz>2019-05-21 11:53:04 -0700
commitfe624dec60274ffce90ef9e35dcf582902cd7c16 (patch)
tree4c6c19b5ef4a3145c4e318b6a4a008ca6f66f3b4 /FS/FS/svc_acct.pm
parentbb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b (diff)
Revert "restore our time-tracking hack, RT#83379, RT#81529"
This reverts commit bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b.
Diffstat (limited to 'FS/FS/svc_acct.pm')
-rw-r--r--FS/FS/svc_acct.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index a04789b..053f1e0 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -2008,10 +2008,7 @@ sub _op_usage {
die "Can't update $column for svcnum". $self->svcnum
if $rv == 0;
- if ( $conf->exists('radius-chillispot-max')
- || scalar($conf->config('support_packages'))
- )
- {
+ if ( $conf->exists('radius-chillispot-max') ) {
#$self->snapshot; #not necessary, we retain the old values
#create an object with the updated usage values
my $new = qsearchs('svc_acct', { 'svcnum' => $self->svcnum });