projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
deb 9
[freeside.git]
/
FS
/
FS
/
Cron
/
expire_user_pref.pm
diff --git
a/FS/FS/Cron/expire_user_pref.pm
b/FS/FS/Cron/expire_user_pref.pm
index
7ab73d2
..
3226927
100644
(file)
--- a/
FS/FS/Cron/expire_user_pref.pm
+++ b/
FS/FS/Cron/expire_user_pref.pm
@@
-12,6
+12,9
@@
sub expire_user_pref {
" AND expiration < ?";
my $sth = dbh->prepare($sql) or die dbh->errstr;
$sth->execute(time) or die $sth->errstr;
+
+ dbh->commit or die dbh->errstr if $FS::UID::AutoCommit
+
}
1;