From 6887c864ecb5ba96e03a475c4695a3a33850bde7 Mon Sep 17 00:00:00 2001 From: buckaroo-labs <46908086+buckaroo-labs@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:43:39 -0800 Subject: [PATCH] PHP 8 modifications modifications to avoid "Deprecated" warnings in sql_connect function --- src/SemanticScuttle/db/mssql.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/SemanticScuttle/db/mssql.php b/src/SemanticScuttle/db/mssql.php index 2b17b9e..dbcfcae 100644 --- a/src/SemanticScuttle/db/mssql.php +++ b/src/SemanticScuttle/db/mssql.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->persistency = $persistency; @@ -548,4 +554,4 @@ class sql_db } // if ... define -?> \ No newline at end of file +?>