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