From: Moritz Bunkus Date: Thu, 13 Jun 2013 08:56:02 +0000 (+0200) Subject: fixup: Pg hardcoden X-Git-Tag: release-3.1.0beta1~331^2~24 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0e0dfd4f1176f309af3387cf45906d9026d2d15e;hp=9fdaa1e38014b80609af2fbddb737d6c8e6734d1;p=kivitendo-erp.git fixup: Pg hardcoden --- diff --git a/SL/DBConnect.pm b/SL/DBConnect.pm index e67d8d095..aeb8719da 100644 --- a/SL/DBConnect.pm +++ b/SL/DBConnect.pm @@ -28,7 +28,7 @@ sub get_connect_args { my $db_cfg = SL::DB->registry->entry(domain => $domain, type => $type) || { }; return ( - 'dbi:' . $db_cfg->{dbi_driver} . ':dbname=' . $db_cfg->{database} . ';host=' . ($db_cfg->{host} || 'localhost') . ';port=' . ($db_cfg->{port} || 5432), + 'dbi:Pg:dbname=' . $db_cfg->{database} . ';host=' . ($db_cfg->{host} || 'localhost') . ';port=' . ($db_cfg->{port} || 5432), $db_cfg->{username}, $db_cfg->{password}, $self->get_options(%{ $db_cfg->{connect_options} || {} }, @args),