[freeside-commits] branch master updated. a1b53bf2e2af68085228b73c9da980fc49b1d393
Ivan Kohler
ivan at freeside.biz
Mon May 20 12:53:58 PDT 2019
The branch, master has been updated
via a1b53bf2e2af68085228b73c9da980fc49b1d393 (commit)
from dac9051f94d03903c00a46117f6edf8315ec57dc (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 a1b53bf2e2af68085228b73c9da980fc49b1d393
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon May 20 12:53:57 2019 -0700
restore our time-tracking hack, RT#83379, RT#81529
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 053f1e0f4..a04789bad 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -2008,7 +2008,10 @@ sub _op_usage {
die "Can't update $column for svcnum". $self->svcnum
if $rv == 0;
- if ( $conf->exists('radius-chillispot-max') ) {
+ if ( $conf->exists('radius-chillispot-max')
+ || scalar($conf->config('support_packages'))
+ )
+ {
#$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, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list