projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wiedervorlage aus Angebot/Auftrag: Betreff aus Vorgangsbezeichnung vorbelegen
[kivitendo-erp.git]
/
SL
/
DBConnect
/
Cache.pm
diff --git
a/SL/DBConnect/Cache.pm
b/SL/DBConnect/Cache.pm
index
7e4633b
..
c133e8a
100644
(file)
--- a/
SL/DBConnect/Cache.pm
+++ b/
SL/DBConnect/Cache.pm
@@
-43,6
+43,11
@@
sub clear {
%cache = ();
}
%cache = ();
}
+sub disconnect_all_and_clear {
+ $_->disconnect for values %cache;
+ %cache = ();
+}
+
sub _args2str {
my (@args) = @_;
sub _args2str {
my (@args) = @_;