mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
git-svn-id: http://svn.automattic.com/wordpress/trunk@18510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1cf9dfacbf
commit
ef0ace0bbf
@ -291,6 +291,8 @@ function remove_user_from_blog($user_id, $blog_id = '', $reassign = '') {
|
||||
}
|
||||
|
||||
restore_current_blog();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user