Remove unneeded get_userdata call. Props DD32. see #5367

git-svn-id: http://svn.automattic.com/wordpress/trunk@6531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-12-31 23:39:02 +00:00
parent d13d567b22
commit 6aafd77e36
1 changed files with 0 additions and 2 deletions

View File

@ -372,8 +372,6 @@ endif;
if ( !function_exists('wp_set_auth_cookie') ) :
function wp_set_auth_cookie($user_id, $remember = false) {
$user = get_userdata($user_id);
if ( $remember ) {
$expiration = $expire = time() + 1209600;
} else {