X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d6138be82164a47633942ae567d17c44372c3139..d4c5ff04f33e7fe29e079c4489c4126a7ea2493c:/SL/DBConnect/Cache.pm 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) = @_;