Code Duplication    Length = 11-13 lines in 2 locations

mod/elgg_recaptcha/classes/BrowserDetection.php 2 locations

@@ 1181-1191 (lines=11) @@
1178
                    $result = '1.1';
1179
                }
1180
                break;
1181
            case 85:
1182
                if ($verParts[1] >= 8) {
1183
                    $result = '1.0.3';
1184
                } else {
1185
                    if ($verParts[1] >= 7) {
1186
                        $result = '1.0.2';
1187
                    } else {
1188
                        $result = '1.0';
1189
                    }
1190
                }
1191
                break;
1192
            case 73: $result = '0.9';
1193
                break;
1194
            case 51: $result = '0.8.1';
@@ 1340-1352 (lines=13) @@
1337
            //for this reason, check the Safari build before the WebKit build.
1338
            case 100: $result = '1.1.1';
1339
                break;
1340
            case 85:
1341
                if ($verParts[1] >= 8) {
1342
                    $result = '1.0.3';
1343
                } else {
1344
                    if ($verParts[1] >= 7) {
1345
                        //WebKit 85.7 can be either Safari 1.0 (Safari build 85.5) or 1.0.2 (Safari build 85.7)
1346
                        //for this reason, check the Safari build before the WebKit build.
1347
                        $result = '1.0.2';
1348
                    } else {
1349
                        $result = '1.0';
1350
                    }
1351
                }
1352
                break;
1353
            case 73: $result = '0.9';
1354
                break;
1355
            case 51: $result = '0.8.1';