Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack-user-agent.php 2 locations

@@ 1341-1343 (lines=3) @@
1338
1339
		$version_num = explode( '.', $version );
1340
1341
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1342
			return false;
1343
		}
1344
		if ( $version_num[0] == 5 ) {
1345
			return 'blackberry-5';
1346
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1402-1404 (lines=3) @@
1399
1400
			$version_num = explode( '.', $version );
1401
1402
			if ( false === is_array( $version_num ) || count( $version_num ) <= 1 ) {
1403
				return false;
1404
			}
1405
1406
			if ( $version_num[0] == 5 ) {
1407
				return 'blackberry-5';