Revert "restore our time-tracking hack, RT#83379, RT#81529"
authorIvan Kohler <ivan@freeside.biz>
Tue, 21 May 2019 18:53:04 +0000 (11:53 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 21 May 2019 18:53:04 +0000 (11:53 -0700)
This reverts commit bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b.

FS/FS/svc_acct.pm

index a04789b..053f1e0 100644 (file)
@@ -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 });