mirror of
git://develop.git.wordpress.org/
synced 2025-03-25 06:20:06 +01:00
Networks and Sites: Remove unnecessary commented code from remove_user_from_blog()
.
This change removes a call to `wp_revoke_user()` from `remove_user_from_blog()`: this line has been commented out since forever. Props Faison. Fixes #55170. git-svn-id: https://develop.svn.wordpress.org/trunk@52737 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c37cc1122
commit
582f4e7da8
@ -280,7 +280,6 @@ function remove_user_from_blog( $user_id, $blog_id = 0, $reassign = 0 ) {
|
||||
update_user_meta( $user_id, 'source_domain', $new_domain );
|
||||
}
|
||||
|
||||
// wp_revoke_user( $user_id );
|
||||
$user = get_userdata( $user_id );
|
||||
if ( ! $user ) {
|
||||
restore_current_blog();
|
||||
|
Loading…
x
Reference in New Issue
Block a user