Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack-user-agent.php 2 locations

@@ 1245-1247 (lines=3) @@
1242
1243
		$version_num = explode( '.', $version );
1244
1245
		if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1246
			return false;
1247
		}
1248
		if ( $version_num[0] == 5 ) {
1249
			return 'blackberry-5';
1250
		} elseif ( $version_num[0] == 4 && $version_num[1] == 7 ) {
@@ 1306-1308 (lines=3) @@
1303
1304
			$version_num = explode( '.', $version );
1305
1306
			if ( is_array( $version_num ) === false || count( $version_num ) <= 1 ) {
1307
				return false;
1308
			}
1309
1310
			if ( $version_num[0] == 5 ) {
1311
				return 'blackberry-5';