[freeside-commits] freeside/FS/FS/part_export sqlradius.pm, 1.48.2.2, 1.48.2.3

Ivan,,, ivan at wavetail.420.am
Tue Oct 18 12:45:44 PDT 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	sqlradius.pm 
Log Message:
pull RADIUS groups in new-style so existing groups get removed on suspensions, hopefully the final fix for RADIUS groups suspension, RT#14398

Index: sqlradius.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/sqlradius.pm,v
retrieving revision 1.48.2.2
retrieving revision 1.48.2.3
diff -u -w -d -r1.48.2.2 -r1.48.2.3
--- sqlradius.pm	18 Oct 2011 18:10:29 -0000	1.48.2.2
+++ sqlradius.pm	18 Oct 2011 19:45:42 -0000	1.48.2.3
@@ -268,7 +268,7 @@
     $self->sqlreplace_usergroups( $new->svcnum,
                                   $self->export_username($new),
 				  '',
-                                  $svc_acct->usergroup,
+                                  [ $svc_acct->radius_groups ],
 				  \@newgroups,
 				);
   if ( $error ) {
@@ -307,7 +307,7 @@
                                          $self->export_username($svc_acct),
                                          '',
 					 \@oldgroups,
-					 $svc_acct->usergroup,
+					 [ $svc_acct->radius_groups ],
 				       );
   if ( $error ) {
     $dbh->rollback if $oldAutoCommit;



More information about the freeside-commits mailing list