projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AUTH ist in Templates jetzt immer verfügbar
[kivitendo-erp.git]
/
SL
/
DBConnect
/
Cache.pm
diff --git
a/SL/DBConnect/Cache.pm
b/SL/DBConnect/Cache.pm
index
262c113
..
7e4633b
100644
(file)
--- a/
SL/DBConnect/Cache.pm
+++ b/
SL/DBConnect/Cache.pm
@@
-35,6
+35,10
@@
sub reset {
$dbh;
}
+sub reset_all {
+ $_->{AutoCommit} || $_->rollback for values %cache;
+}
+
sub clear {
%cache = ();
}