mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f679a75b0c
commit
edaea210a1
@ -1030,8 +1030,6 @@ class wpdb {
|
||||
* @since 3.0.0
|
||||
*/
|
||||
function db_connect() {
|
||||
global $db_list, $global_db_list;
|
||||
|
||||
if ( WP_DEBUG ) {
|
||||
$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, true );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user