@@ -92,11 +92,9 @@ |
||
92 | 92 | $connection = null; |
93 | 93 | if (extension_loaded("pgsql")) { |
94 | 94 | $connection = new Db\PgSql\Connection($this, $this->util, $this->trans, 'PgSQL'); |
95 | - } |
|
96 | - elseif (extension_loaded("pdo_pgsql")) { |
|
95 | + } elseif (extension_loaded("pdo_pgsql")) { |
|
97 | 96 | $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_PgSQL'); |
98 | - } |
|
99 | - else { |
|
97 | + } else { |
|
100 | 98 | throw new AuthException($this->trans->lang('No package installed to connect to a PostgreSQL server.')); |
101 | 99 | } |
102 | 100 |