Use correct variable. props ocean90, fixes #15693.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-06 15:44:30 +00:00
parent 4dd3b77b48
commit 7ba61cbcd6
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
// Remove users from this blog.
if ( ! empty( $users ) ) {
foreach ( $users as $user ) {
remove_user_from_blog( $user->user_id, $blog_id) ;
remove_user_from_blog( $user->ID, $blog_id) ;
}
}