Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -461,23 +461,6 @@ class wpdb {
|
||||
*/
|
||||
var $func_call;
|
||||
|
||||
/**
|
||||
* Connects to the database server and selects a database
|
||||
*
|
||||
* PHP4 compatibility layer for calling the PHP5 constructor.
|
||||
*
|
||||
* @uses wpdb::__construct() Passes parameters and returns result
|
||||
* @since 0.71
|
||||
*
|
||||
* @param string $dbuser MySQL database user
|
||||
* @param string $dbpassword MySQL database password
|
||||
* @param string $dbname MySQL database name
|
||||
* @param string $dbhost MySQL database host
|
||||
*/
|
||||
function wpdb( $dbuser, $dbpassword, $dbname, $dbhost ) {
|
||||
return $this->__construct( $dbuser, $dbpassword, $dbname, $dbhost );
|
||||
}
|
||||
|
||||
/**
|
||||
* Connects to the database server and selects a database
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user