Actually delete user.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-30 04:41:47 +00:00
parent 546ca665d5
commit 4f501b1bd6
1 changed files with 3 additions and 2 deletions

View File

@ -151,9 +151,10 @@ case 'delete':
$wpdb->query("DELETE FROM $tablelinks WHERE link_owner = $id");
// Delete posts
$wpdb->query("DELETE FROM $tableposts WHERE post_author = $id");
// FINALLY, delete user
$wpdb->query("DELETE FROM $tableusers WHERE ID = $id");
}
// FINALLY, delete user
$wpdb->query("DELETE FROM $tableusers WHERE ID = $id");
header('Location: users.php?deleted=true');
break;