summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/SemanticScuttle/db/postgres.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SemanticScuttle/db/postgres.php b/src/SemanticScuttle/db/postgres.php
index b5bad20..4acd6a2 100644
--- a/src/SemanticScuttle/db/postgres.php
+++ b/src/SemanticScuttle/db/postgres.php
@@ -31,6 +31,12 @@ class sql_db
var $num_queries = 0;
var $open_queries = array();
+ /* 2023-12-20 modifications to avoid "Deprecated" warnings in sql_connect function*/
+ var $user;
+ var $persistency;
+ var $dbname;
+ var $server;
+ /*2023-12-20 end */
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
{
$this->connect_string = '';
@@ -594,4 +600,4 @@ class sql_db
} // if ... defined
-?> \ No newline at end of file
+?>