X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct.pm;h=a04789bad8a6eebc9c4a4bf6a946a311adeb6e04;hp=32190b19f394503d50706dfe05e4acad204e3a45;hb=a1b53bf2e2af68085228b73c9da980fc49b1d393;hpb=543d21618b4c8c55e054452cbe064bfa359d449e diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 32190b19f..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 }); @@ -2294,7 +2297,7 @@ sub is_rechargable { =item seconds_since TIMESTAMP Returns the number of seconds this account has been online since TIMESTAMP, -according to the session monitor (see L). +according to the session monitor (see L). TIMESTAMP is specified as a UNIX timestamp; see L. Also see L and L for conversion functions.