Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack-user-agent.php 2 locations

@@ 1428-1430 (lines=3) @@
1425
1426
		$version_num = explode( '.', $version );
1427
1428
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1429
			return false;
1430
		}
1431
		if ( $version_num[0] == 5 ) {
1432
			return 'blackberry-5';
1433
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1489-1491 (lines=3) @@
1486
1487
			$version_num = explode( '.', $version );
1488
1489
			if ( false === is_array( $version_num ) || count( $version_num ) <= 1 ) {
1490
				return false;
1491
			}
1492
1493
			if ( $version_num[0] == 5 ) {
1494
				return 'blackberry-5';