Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-11-05 20:28:46 +00:00
parent 7b40dadd8d
commit 13c02951d1
1 changed files with 0 additions and 3 deletions

View File

@ -283,7 +283,6 @@ function wp_update_user($userdata) {
*
* @since 2.0.0
* @see wp_insert_user() More complete way to create a new user
* @uses $wpdb Escapes $username and $email parameters
*
* @param string $username The user's username.
* @param string $password The user's password.
@ -291,8 +290,6 @@ function wp_update_user($userdata) {
* @return int The new user's ID.
*/
function wp_create_user($username, $password, $email = '') {
global $wpdb;
$user_login = esc_sql( $username );
$user_email = esc_sql( $email );
$user_pass = $password;