[freeside-commits] freeside/FS/FS svc_acct.pm,1.188,1.189
Ivan,,,
ivan at wavetail.420.am
Thu Nov 17 03:15:37 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv23394
Modified Files:
svc_acct.pm
Log Message:
update debuggging information for replace group info with user at domain
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- svc_acct.pm 11 Nov 2005 14:06:34 -0000 1.188
+++ svc_acct.pm 17 Nov 2005 11:15:35 -0000 1.189
@@ -497,8 +497,10 @@
return $error if $error;
$old->usergroup( [ $old->radius_groups ] );
- warn "old groups: ". join(' ',@{$old->usergroup}). "\n" if $DEBUG;
- warn "new groups: ". join(' ',@{$new->usergroup}). "\n" if $DEBUG;
+ if ( $DEBUG ) {
+ warn $old->email. " old groups: ". join(' ',@{$old->usergroup}). "\n";
+ warn $new->email. "new groups: ". join(' ',@{$new->usergroup}). "\n";
+ }
if ( $new->usergroup ) {
#(sorta) false laziness with FS::part_export::sqlradius::_export_replace
my @newgroups = @{$new->usergroup};
More information about the freeside-commits
mailing list