From: Moritz Bunkus Date: Wed, 5 Jun 2013 08:45:42 +0000 (+0200) Subject: Rose::DB-Registry-Cache: dbpasswd nicht als Cache-Key nutzen X-Git-Tag: release-3.1.0beta1~331^2~67 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=88262ee31b042c75a06cd43a5308baaf28d17fa5;p=kivitendo-erp.git Rose::DB-Registry-Cache: dbpasswd nicht als Cache-Key nutzen --- diff --git a/SL/DB.pm b/SL/DB.pm index 5a22c5da5..47f597d5f 100644 --- a/SL/DB.pm +++ b/SL/DB.pm @@ -83,7 +83,7 @@ sub _register_db { my %flattened_settings = _flatten_settings(%connect_settings); $domain = 'LXOFFICE' if $type =~ m/^LXOFFICE/; - $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort keys %flattened_settings); + $type .= join($SUBSCRIPT_SEPARATOR, map { ($_, $flattened_settings{$_} || '') } sort grep { $_ ne 'dbpasswd' } keys %flattened_settings); my $idx = "${domain}::${type}"; if (!$_db_registered{$idx}) {