Code Duplication    Length = 6-6 lines in 2 locations

_inc/lib/debugger/class-jetpack-debug-data.php 2 locations

@@ 182-187 (lines=6) @@
179
		unset( $user_tokens );
180
181
		$tokenset = '';
182
		if ( $blog_token ) {
183
			$tokenset = 'Blog ';
184
			$blog_key = substr( $blog_token, 0, strpos( $blog_token, '.' ) );
185
			// Intentionally not translated since this is helpful when sent to Happiness.
186
			$blog_key = ( $blog_key ) ? $blog_key : 'Potentially Malformed Token.';
187
		}
188
		if ( $user_token ) {
189
			$tokenset .= 'User';
190
			$user_key  = substr( $user_token, 0, strpos( $user_token, '.' ) );
@@ 188-193 (lines=6) @@
185
			// Intentionally not translated since this is helpful when sent to Happiness.
186
			$blog_key = ( $blog_key ) ? $blog_key : 'Potentially Malformed Token.';
187
		}
188
		if ( $user_token ) {
189
			$tokenset .= 'User';
190
			$user_key  = substr( $user_token, 0, strpos( $user_token, '.' ) );
191
			// Intentionally not translated since this is helpful when sent to Happiness.
192
			$user_key = ( $user_key ) ? $user_key : 'Potentially Malformed Token.';
193
		}
194
		if ( ! $tokenset ) {
195
			$tokenset = 'None';
196
		}