diff options
author | jeff <jeff> | 2008-01-08 21:33:38 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-01-08 21:33:38 +0000 |
commit | 47edb311d3bb4ca2885177fd6048c888292c8d48 (patch) | |
tree | 4d96ce86c673111145df24433ca503bf211fc14c /FS | |
parent | 402b1efa826280252a341938a9bba3443bac70e8 (diff) |
transactiony cruft removal
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_acct.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index d6d58f93b..9fb72d17b 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -384,15 +384,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 = ?"; @@ -407,9 +398,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"); |