set any fixed usergroup before exporting so it'll export even if all svc_acct records...
authorivan <ivan>
Mon, 17 Oct 2005 06:46:02 +0000 (06:46 +0000)
committerivan <ivan>
Mon, 17 Oct 2005 06:46:02 +0000 (06:46 +0000)
FS/bin/freeside-sqlradius-reset

index 11cbe9e..2ac5012 100755 (executable)
@@ -48,6 +48,9 @@ foreach my $export ( @exports ) {
 
   foreach my $svc_acct ( @svc_acct ) {
 
+    $svc_acct->check; #set any fixed usergroup so it'll export even if all
+                      #svc_acct records don't have the group yet
+
     #false laziness with FS::svc_acct::insert (like it matters)
     my $error = $export->export_insert($svc_acct);
     die $error if $error;