Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3932ffbff8
commit
7af65a1402
@ -686,8 +686,6 @@ function get_blogs_of_user( $id, $all = false ) {
|
||||
if ( empty( $userkeys ) )
|
||||
return false;
|
||||
$userkeys = array_keys( $userkeys );
|
||||
if ( empty( $userkeys ) )
|
||||
return false;
|
||||
|
||||
$blogs = $match = array();
|
||||
$prefix_length = strlen( $wpdb->base_prefix );
|
||||
|
Loading…
Reference in New Issue
Block a user