diff options
author | buckaroo-labs | 2023-12-20 16:43:48 -0800 |
---|---|---|
committer | GitHub | 2023-12-20 16:43:48 -0800 |
commit | 5abe272660f7e7a1839e2386a01b1f852c427253 (patch) | |
tree | 175d9b0adc6531d617d2f30c6445d1624a8ee0da /src/SemanticScuttle/db | |
parent | c2584192cf4ff318553bd1cc7a3f6ff05ae99315 (diff) | |
download | scuttle-5abe272660f7e7a1839e2386a01b1f852c427253.tar.gz scuttle-5abe272660f7e7a1839e2386a01b1f852c427253.zip |
PHP 8 modifications
modifications to avoid "Deprecated" warnings in sql_connect function
Diffstat (limited to 'src/SemanticScuttle/db')
-rw-r--r-- | src/SemanticScuttle/db/mysql4.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SemanticScuttle/db/mysql4.php b/src/SemanticScuttle/db/mysql4.php index 0639518..7244e51 100644 --- a/src/SemanticScuttle/db/mysql4.php +++ b/src/SemanticScuttle/db/mysql4.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; @@ -549,4 +555,4 @@ class sql_db } // if ... define -?>
\ No newline at end of file +?> |