summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/Conf.pm1
-rw-r--r--FS/FS/svc_acct.pm7
2 files changed, 2 insertions, 6 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 1bc5860b2..d4376c309 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -2247,7 +2247,6 @@ worry that config_items is freeside-specific and icky.
'section' => '',
'description' => 'RADIUS group (or comma-separated groups) to assign to svc_acct which has exceeded its bandwidth or time limit.',
'type' => 'text',
- 'per_agent' => 1,
},
{
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index fda6e3c46..7b139195f 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -1805,14 +1805,11 @@ sub _op_overlimit {
my $cust_pkg = $self->cust_svc->cust_pkg;
- my $agent_overlimit =
- $cust_pkg
- ? $conf->config('overlimit_groups', $cust_pkg->cust_main->agentnum )
- : '';
+ my $conf_overlimit = $conf->config('overlimit_groups');
foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
- my $groups = $agent_overlimit || $part_export->option('overlimit_groups');
+ my $groups = $conf_overlimit || $part_export->option('overlimit_groups');
next unless $groups;
my $gref = &{ $self->_fieldhandlers->{'usergroup'} }( $self, $groups );