X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct.pm;h=053f1e0f41773576260fdad6ff4410e5dd632372;hb=c2dbe36096332d1e09bc58d7d9903e05247f0c9b;hp=a04789bad8a6eebc9c4a4bf6a946a311adeb6e04;hpb=a1b53bf2e2af68085228b73c9da980fc49b1d393;p=freeside.git 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 });