[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6966] branches/1.4/LedgerSMB/Database.pm



Revision: 6966
          http://sourceforge.net/p/ledger-smb/code/6966
Author:   einhverfr
Date:     2014-04-04 07:22:10 +0000 (Fri, 04 Apr 2014)
Log Message:
-----------
Merging 6963 through 6965 into 1.4

Modified Paths:
--------------
    branches/1.4/LedgerSMB/Database.pm

Modified: branches/1.4/LedgerSMB/Database.pm
===================================================================
--- branches/1.4/LedgerSMB/Database.pm	2014-04-04 07:11:18 UTC (rev 6965)
+++ branches/1.4/LedgerSMB/Database.pm	2014-04-04 07:22:10 UTC (rev 6966)
@@ -453,7 +453,7 @@
     my $dbh = DBI->connect(
         "dbi:Pg:dbname=$dbName", 
          "$creds->{login}", "$creds->{password}", { AutoCommit => 0 }
-    ) or LedgerSMB::Auth::credential_prompt;
+    ) or return undef;
     my ($version) = $dbh->selectrow_array('SELECT version()');
     $version =~ /(\d+\.\d+\.\d+)/;
     my $retval = $1;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits