Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack-user-agent.php 2 locations

@@ 1305-1307 (lines=3) @@
1302
1303
		$version_num = explode( '.', $version );
1304
1305
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1306
			return false;
1307
		}
1308
		if ( $version_num[0] == 5 ) {
1309
			return 'blackberry-5';
1310
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1366-1368 (lines=3) @@
1363
1364
			$version_num = explode( '.', $version );
1365
1366
			if ( false === is_array( $version_num ) || count( $version_num ) <= 1 ) {
1367
				return false;
1368
			}
1369
1370
			if ( $version_num[0] == 5 ) {
1371
				return 'blackberry-5';