diff options
author | ivan <ivan> | 2002-03-20 21:31:49 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-03-20 21:31:49 +0000 |
commit | f1038a648b3d53db925b23519e7cd2a30c6837ed (patch) | |
tree | cda6c30496db688ed3fd702d111a76bc2c6d2e82 /bin/icradius_reset | |
parent | 74f795a943560dfc03f46642536386ce36355bb4 (diff) |
new export! infostreet and sqlradius provisioning switched over
(Bug #299 - doesn't close it, but all the groundwork is done)
also removes non-transactional ICRADIUS export from svc_acct.export
(closes: Bug#347)
Diffstat (limited to 'bin/icradius_reset')
-rw-r--r-- | bin/icradius_reset | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/icradius_reset b/bin/icradius_reset new file mode 100644 index 000000000..58663ee6b --- /dev/null +++ b/bin/icradius_reset @@ -0,0 +1,7 @@ + + my $sth = $icradius_dbh->prepare("DELETE FROM radcheck"); + $sth->execute or die "Can't reset radcheck table: ". $sth->errstr; + my $sth2 = $icradius_dbh->prepare("DELETE FROM radreply"); + $sth2->execute or die "Can't reset radreply table: ". $sth2->errstr; + + |