From 7917cc1f73ef49554d05bc5039add533be725a3e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 21 May 2019 11:52:46 -0700 Subject: [PATCH] Revert "restore our time-tracking hack, RT#83379, RT#81529" This reverts commit a1b53bf2e2af68085228b73c9da980fc49b1d393. --- FS/FS/svc_acct.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index a04789bad..053f1e0f4 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 }); -- 2.11.0