4 use FS::UID qw(adminsuidsetup);
5 use FS::Record qw(qsearch);
10 adminsuidsetup(shift @ARGV) or die "Usage: svc_domain.erase user\n";
12 foreach my $record ( qsearch('domain_record',{}), qsearch('svc_domain', {} ) ) {
13 my $error = $record->delete;