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:
ryan
2011-04-05 17:25:08 +00:00
parent 91dc365567
commit b60c345536
4 changed files with 4 additions and 43 deletions

View File

@@ -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
*