Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack-user-agent.php 2 locations

@@ 1319-1321 (lines=3) @@
1316
1317
		$version_num = explode( '.', $version );
1318
1319
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1320
			return false;
1321
		}
1322
		if ( $version_num[0] == 5 ) {
1323
			return 'blackberry-5';
1324
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1380-1382 (lines=3) @@
1377
1378
			$version_num = explode( '.', $version );
1379
1380
			if ( false === is_array( $version_num ) || count( $version_num ) <= 1 ) {
1381
				return false;
1382
			}
1383
1384
			if ( $version_num[0] == 5 ) {
1385
				return 'blackberry-5';