From 2833fce8c02bd2bc977eb7f2be0bdc9ca3dd52f4 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 19 May 2010 09:53:36 +0000 Subject: - 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 --- roundcubemail/program/lib/MDB2/Driver/sqlsrv.php | 3 --- 1 file changed, 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; } -- cgit v1.2.3