summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorjeff <jeff>2008-01-08 21:33:53 +0000
committerjeff <jeff>2008-01-08 21:33:53 +0000
commit5aca4fae645817eb3cc07660b3597411763e3de3 (patch)
tree48e852909de03a65883ba134f4173103ba836202 /FS
parent34f91089a0d54fa39d622ec5e03d9e09a50e9f79 (diff)
transactiony cruft removal
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_acct.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index f26b2109f..4343df5cc 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -368,15 +368,6 @@ sub _lastlog {
' ('. $self->email. "): $time\n"
if $DEBUG;
- local $SIG{HUP} = 'IGNORE';
- local $SIG{INT} = 'IGNORE';
- local $SIG{QUIT} = 'IGNORE';
- local $SIG{TERM} = 'IGNORE';
- local $SIG{TSTP} = 'IGNORE';
- local $SIG{PIPE} = 'IGNORE';
-
- my $oldAutoCommit = $FS::UID::AutoCommit;
- local $FS::UID::AutoCommit = 0;
my $dbh = dbh;
my $sql = "UPDATE svc_acct SET last_log$op = ? WHERE svcnum = ?";
@@ -391,9 +382,6 @@ sub _lastlog {
die "Can't update last_log$op for svcnum". $self->svcnum
if $rv == 0;
- warn "$me update successful; committing\n"
- if $DEBUG;
- $dbh->commit or die $dbh->errstr if $oldAutoCommit;
$self->{'Hash'}->{"last_log$op"} = $time;
}else{
$self->getfield("last_log$op");