diff options
Diffstat (limited to 'bin/svc_domain.erase')
-rwxr-xr-x | bin/svc_domain.erase | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/svc_domain.erase b/bin/svc_domain.erase deleted file mode 100755 index c0236614b..000000000 --- a/bin/svc_domain.erase +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/perl -w -# -# $Id: svc_domain.erase,v 1.1 2002-04-20 11:57:35 ivan Exp $ - -use strict; -use FS::UID qw(adminsuidsetup); -use FS::Record qw(qsearch); - -use FS::domain_record; -use FS::svc_domain; - -adminsuidsetup(shift @ARGV) or die "Usage: svc_domain.erase user\n"; - -foreach my $record ( qsearch('domain_record',{}), qsearch('svc_domain', {} ) ) { - my $error = $record->delete; - die $error if $error; -} |