X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=site_perl%2Fsvc_acct.pm;h=f066ebdd6b9effea67549751195762172a3c6cfb;hb=8f4617e35f89b741b8ab5ba9136667b4c877d992;hp=c69f1032beb6c472979fe333ab2c686b3f1eac41;hpb=a99792ee88e249c27c661a4ece2b4fa241f59e76;p=freeside.git diff --git a/site_perl/svc_acct.pm b/site_perl/svc_acct.pm index c69f1032b..f066ebdd6 100644 --- a/site_perl/svc_acct.pm +++ b/site_perl/svc_acct.pm @@ -7,6 +7,8 @@ use FS::Conf; use FS::Record qw( qsearchs fields ); use FS::svc_Common; use FS::SSH qw(ssh); +use FS::part_svc; +use FS::svc_acct_pop; @ISA = qw( FS::svc_Common ); @@ -120,6 +122,7 @@ sub insert { local $SIG{QUIT} = 'IGNORE'; local $SIG{TERM} = 'IGNORE'; local $SIG{TSTP} = 'IGNORE'; + local $SIG{PIPE} = 'IGNORE'; $error = $self->check; return $error if $error; @@ -188,6 +191,7 @@ sub delete { local $SIG{QUIT} = 'IGNORE'; local $SIG{TERM} = 'IGNORE'; local $SIG{TSTP} = 'IGNORE'; + local $SIG{PIPE} = 'IGNORE'; $error = $self->SUPER::delete; return $error if $error; @@ -242,6 +246,7 @@ sub replace { local $SIG{QUIT} = 'IGNORE'; local $SIG{TERM} = 'IGNORE'; local $SIG{TSTP} = 'IGNORE'; + local $SIG{PIPE} = 'IGNORE'; $error = $new->SUPER::replace($old); return $error if $error; @@ -440,7 +445,7 @@ sub check { =head1 VERSION -$Id: svc_acct.pm,v 1.5 1999-01-18 21:58:09 ivan Exp $ +$Id: svc_acct.pm,v 1.7 1999-04-07 14:37:37 ivan Exp $ =head1 BUGS @@ -482,7 +487,13 @@ arbitrary radius attributes ivan@sisd.com 98-aug-13 pod and FS::conf ivan@sisd.com 98-sep-22 $Log: svc_acct.pm,v $ -Revision 1.5 1999-01-18 21:58:09 ivan +Revision 1.7 1999-04-07 14:37:37 ivan +use FS::part_svc and FS::svc_acct_pop to avoid warnings + +Revision 1.6 1999/01/25 12:26:15 ivan +yet more mod_perl stuff + +Revision 1.5 1999/01/18 21:58:09 ivan esthetic: eq and ne were used in a few places instead of == and != Revision 1.4 1998/12/30 00:30:45 ivan