projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8fced
)
auto commit for vacuum
author
jeff
<jeff>
Tue, 18 Sep 2007 06:07:09 +0000
(06:07 +0000)
committer
jeff
<jeff>
Tue, 18 Sep 2007 06:07:09 +0000
(06:07 +0000)
FS/FS/Cron/expire_user_pref.pm
patch
|
blob
|
history
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;