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:
ryan 2011-10-06 19:13:44 +00:00
parent 599965885b
commit 2f40f0c6fc
1 changed files with 1 additions and 3 deletions

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