Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
599965885b
commit
2f40f0c6fc
|
@ -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