PHP 8 modifications

modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
buckaroo-labs 2023-12-20 16:43:31 -08:00 committed by GitHub
parent a4e0721c6b
commit c67515b7e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,12 @@ class sql_db
var $last_query_text = ''; 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) function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
{ {
$this->persistency = $persistency; $this->persistency = $persistency;
@ -524,4 +530,4 @@ class sql_db
} // if ... define } // if ... define
?> ?>