Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/Connection.php')
-rw-r--r--src/classes/Connection.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/classes/Connection.php b/src/classes/Connection.php
index 81809416..c0adc49f 100644
--- a/src/classes/Connection.php
+++ b/src/classes/Connection.php
@@ -1,7 +1,7 @@
<?php
/**
- * PHPPgAdmin 6.0.0
+ * PHPPgAdmin 6.1.3
*/
namespace PHPPgAdmin;
@@ -196,12 +196,5 @@ class Connection
$this->conn->connect($dsnString, $user, $password);
return $this->conn;
- ): \ADODB_pdo {
- $this->conn = ADONewConnection('pdo');
- $this->conn->setFetchMode($fetchMode);
- $dsnString = \sprintf('pgsql:host=%s;port=%d;dbname=%s;sslmode=%s;application_name=PHPPgAdmin6', $host, $port, $database, $sslmode);
- $this->conn->connect($dsnString, $user, $password);
-
- return $this->conn;
}
}