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:
Ryan Boren 2011-10-06 19:13:44 +00:00
parent 3932ffbff8
commit 7af65a1402

View File

@ -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 );