projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT# 74665 - removed section name and updated disable query to keep working on V3
[freeside.git]
/
FS
/
FS
/
Cron
/
disable_quotation.pm
diff --git
a/FS/FS/Cron/disable_quotation.pm
b/FS/FS/Cron/disable_quotation.pm
index
fde2686
..
3a11586
100644
(file)
--- a/
FS/FS/Cron/disable_quotation.pm
+++ b/
FS/FS/Cron/disable_quotation.pm
@@
-14,7
+14,7
@@
sub disable_quotation {
"UPDATE quotation SET disabled = 'Y' WHERE _date < ?"
) or die dbh->errstr;
$sth->execute( time - ( $days * 86400 ) ) or die $sth->errstr;
- dbh->commit or die dbh->errstr
if $FS::UID::AutoCommit
;
+ dbh->commit or die dbh->errstr;
}
}