[freeside-commits] freeside/FS/FS svc_acct.pm,1.268.2.3,1.268.2.4

Ivan,,, ivan at wavetail.420.am
Sun Dec 13 23:52:13 PST 2009


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv26294

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	svc_acct.pm 
Log Message:
use a global config too

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.268.2.3
retrieving revision 1.268.2.4
diff -u -d -r1.268.2.3 -r1.268.2.4
--- svc_acct.pm	14 Dec 2009 07:10:55 -0000	1.268.2.3
+++ svc_acct.pm	14 Dec 2009 07:52:10 -0000	1.268.2.4
@@ -1907,14 +1907,14 @@
 
   my $cust_pkg = $self->cust_svc->cust_pkg;
 
-  my $agent_overlimit =
+  my $conf_overlimit =
     $cust_pkg
       ? $conf->config('overlimit_groups', $cust_pkg->cust_main->agentnum )
-      : '';
+      : $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 );



More information about the freeside-commits mailing list