Remove unneeded get_userdata call. Props DD32. see #5367

git-svn-id: https://develop.svn.wordpress.org/trunk@6531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-12-31 23:39:02 +00:00
parent 00db74c820
commit cdbb434e6a
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 {