Remove unused variables. Props DD32. fixes #5418

git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-05 00:29:05 +00:00
parent 34c792ccc8
commit 721b8c930b
9 changed files with 9 additions and 25 deletions
-3
View File
@@ -187,8 +187,6 @@ function get_nonauthor_user_ids() {
function get_others_unpublished_posts($user_id, $type='any') {
global $wpdb;
$user = get_userdata( $user_id );
$level_key = $wpdb->prefix . 'user_level';
$editable = get_editable_user_ids( $user_id );
@@ -246,7 +244,6 @@ function wp_delete_user($id, $reassign = 'novalue') {
global $wpdb;
$id = (int) $id;
$user = get_userdata($id);
if ($reassign == 'novalue') {
$post_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_author = $id");