[freeside-commits] freeside/FS/FS svc_acct.pm,1.239,1.240
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Jan 8 13:33:56 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv14324
Modified Files:
svc_acct.pm
Log Message:
transactiony cruft removal
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -d -r1.239 -r1.240
--- svc_acct.pm 28 Dec 2007 01:41:22 -0000 1.239
+++ svc_acct.pm 8 Jan 2008 21:33:53 -0000 1.240
@@ -368,15 +368,6 @@
' ('. $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 @@
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");
More information about the freeside-commits
mailing list