[freeside-commits] branch FREESIDE_4_BRANCH updated. fe624dec60274ffce90ef9e35dcf582902cd7c16

Ivan Kohler ivan at freeside.biz
Tue May 21 11:53:11 PDT 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  fe624dec60274ffce90ef9e35dcf582902cd7c16 (commit)
      from  bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fe624dec60274ffce90ef9e35dcf582902cd7c16
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue May 21 11:53:04 2019 -0700

    Revert "restore our time-tracking hack, RT#83379, RT#81529"
    
    This reverts commit bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b.

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 });

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_acct.pm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)




More information about the freeside-commits mailing list