diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-03-12 15:49:10 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-03-12 16:23:48 +0100 |
| commit | e475b4c610f6ee9cd103ac395ccf562e9b151b93 (patch) | |
| tree | e102d0137e37dfd9ea770d78fe168c978a9e0ad4 /drivers/adodb-mssql.inc.php | |
| parent | 92cf7266f6f1e0e17d7c5ae6a5ea18703c7fc060 (diff) | |
| download | adodb-e475b4c610f6ee9cd103ac395ccf562e9b151b93.tar.gz adodb-e475b4c610f6ee9cd103ac395ccf562e9b151b93.tar.bz2 adodb-e475b4c610f6ee9cd103ac395ccf562e9b151b93.zip | |
Remove deprecated $databaseName property
ADOConnection::$databaseName was marked as obsolete in ADOdb 4.66.
Since the assignment that was kept for backwards-compatibility in the
ADOConnection::selectDB() method is causing deprecation warnings with
PHP 8.2, now is the time to get rid of it.
The 2018 rewrite of DB2 driver introduced a private $databaseName
property; this has been removed in favor of ADOConnection::$database.
Fixes #932, #904
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Diffstat (limited to 'drivers/adodb-mssql.inc.php')
| -rw-r--r-- | drivers/adodb-mssql.inc.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/adodb-mssql.inc.php b/drivers/adodb-mssql.inc.php index 8fb92249..269dd7ed 100644 --- a/drivers/adodb-mssql.inc.php +++ b/drivers/adodb-mssql.inc.php @@ -541,7 +541,6 @@ order by constraint_name, referenced_table_name, keyno"; function SelectDB($dbName) { $this->database = $dbName; - $this->databaseName = $dbName; # obsolete, retained for compat with older adodb versions if ($this->_connectionID) { return @mssql_select_db($dbName); } |
