diff options
author | ivan <ivan> | 2005-10-17 06:46:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-10-17 06:46:02 +0000 |
commit | 803369ee5939d4b82a1784b392f2264a05acabf7 (patch) | |
tree | 59fb2d44ca47a44e16f5455d6778b1224da445b1 /FS | |
parent | 83e2b55b1a2b69788bfb8b066192c4846a9f817f (diff) |
set any fixed usergroup before exporting so it'll export even if all svc_acct records don't have the group yet
Diffstat (limited to 'FS')
-rwxr-xr-x | FS/bin/freeside-sqlradius-reset | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/bin/freeside-sqlradius-reset b/FS/bin/freeside-sqlradius-reset index 11cbe9e36..2ac5012d4 100755 --- a/FS/bin/freeside-sqlradius-reset +++ b/FS/bin/freeside-sqlradius-reset @@ -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; |