X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d6138be82164a47633942ae567d17c44372c3139..bc0e2edad8e8f94f85f2a59ceb784b8eb0cda97c:/SL/DBConnect/Cache.pm?ds=inline diff --git a/SL/DBConnect/Cache.pm b/SL/DBConnect/Cache.pm index 7e4633b69..c133e8a3d 100644 --- a/SL/DBConnect/Cache.pm +++ b/SL/DBConnect/Cache.pm @@ -43,6 +43,11 @@ sub clear { %cache = (); } +sub disconnect_all_and_clear { + $_->disconnect for values %cache; + %cache = (); +} + sub _args2str { my (@args) = @_;