Removed and eradicated redundant duplication. And fixed indentation.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3 2004-05-20 13:31:48 +00:00
parent 730f6ceb32
commit 035ff03f95
1 changed files with 3 additions and 5 deletions

View File

@ -177,8 +177,6 @@ function get_userdata($userid) {
$user = $wpdb->get_row("SELECT * FROM $tableusers WHERE ID = '$userid'"); $user = $wpdb->get_row("SELECT * FROM $tableusers WHERE ID = '$userid'");
$user->user_nickname = stripslashes($user->user_nickname); $user->user_nickname = stripslashes($user->user_nickname);
$user->user_firstname = stripslashes($user->user_firstname); $user->user_firstname = stripslashes($user->user_firstname);
$user->user_lastname = stripslashes($user->user_lastname);
$user->user_firstname = stripslashes($user->user_firstname);
$user->user_lastname = stripslashes($user->user_lastname); $user->user_lastname = stripslashes($user->user_lastname);
$user->user_description = stripslashes($user->user_description); $user->user_description = stripslashes($user->user_description);
$cache_userdata[$userid] = $user; $cache_userdata[$userid] = $user;