summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-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 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 });