[freeside-commits] branch FREESIDE_4_BRANCH updated. bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b
Ivan Kohler
ivan at freeside.biz
Mon May 20 12:54:01 PDT 2019
The branch, FREESIDE_4_BRANCH has been updated
via bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b (commit)
from be2ffcf2041beb5890872d2b64940da14fef2f41 (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 bb1ab034ef4ef12f0a2c6486d0b98106ee41ab8b
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon May 20 12:54:00 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