summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib/MDB2/Driver
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-19 09:53:36 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-05-19 09:53:36 +0000
commit2833fce8c02bd2bc977eb7f2be0bdc9ca3dd52f4 (patch)
tree7f073091085b8c99bfd5e2e8e6f345435693e757 /roundcubemail/program/lib/MDB2/Driver
parent3e4c67dda9b92c54474415a1c7762396e742c295 (diff)
- Fix infinite loop when connection to DB fails using sqlsrv driver (#1486744)
git-svn-id: https://svn.roundcube.net/trunk@3635 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/MDB2/Driver')
-rw-r--r--roundcubemail/program/lib/MDB2/Driver/sqlsrv.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/roundcubemail/program/lib/MDB2/Driver/sqlsrv.php b/roundcubemail/program/lib/MDB2/Driver/sqlsrv.php
index 50205b7f4..70f978020 100644
--- a/roundcubemail/program/lib/MDB2/Driver/sqlsrv.php
+++ b/roundcubemail/program/lib/MDB2/Driver/sqlsrv.php
@@ -113,9 +113,6 @@ class MDB2_Driver_sqlsrv extends MDB2_Driver_Common
function errorInfo($error = null, $connection = null)
{
if (null === $connection) {
- if (!$this->connection) {
- $this->connect();
- }
$connection = $this->connection;
}