summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar buckaroo-labs2023-12-20 16:43:31 -0800
committerGravatar GitHub2023-12-20 16:43:31 -0800
commitc67515b7e66c23c5b5290d5dca4f0888dbcb3c0c (patch)
treeacd84f1810965786beb677d08cc97df2723c779a
parenta4e0721c6b5af7db5c7520f22b4878217cb6c7d6 (diff)
downloadscuttle-c67515b7e66c23c5b5290d5dca4f0888dbcb3c0c.tar.gz
scuttle-c67515b7e66c23c5b5290d5dca4f0888dbcb3c0c.zip
PHP 8 modifications
modifications to avoid "Deprecated" warnings in sql_connect function
-rw-r--r--src/SemanticScuttle/db/firebird.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SemanticScuttle/db/firebird.php b/src/SemanticScuttle/db/firebird.php
index 58a7d07..ab9198a 100644
--- a/src/SemanticScuttle/db/firebird.php
+++ b/src/SemanticScuttle/db/firebird.php
@@ -33,6 +33,12 @@ class sql_db
var $last_query_text = '';
+ /* 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;
@@ -524,4 +530,4 @@ class sql_db
} // if ... define
-?> \ No newline at end of file
+?>