Code Duplication    Length = 11-11 lines in 2 locations

mod/elgg_recaptcha/classes/BrowserDetection.php 2 locations

@@ 1148-1158 (lines=11) @@
1145
                    $result = '2.0';
1146
                }
1147
                break;
1148
            case 312:
1149
                if ($verParts[1] >= 5) {
1150
                    $result = '1.3.2';
1151
                } else {
1152
                    if ($verParts[1] >= 3) {
1153
                        $result = '1.3.1';
1154
                    } else {
1155
                        $result = '1.3';
1156
                    }
1157
                }
1158
                break;
1159
            case 125:
1160
                if ($verParts[1] >= 11) {
1161
                    $result = '1.2.4';
@@ 1310-1320 (lines=11) @@
1307
                    $result = '2.0';
1308
                }
1309
                break;
1310
            case 312:
1311
                if ($verParts[1] >= 8) {
1312
                    $result = '1.3.2';
1313
                } else {
1314
                    if ($verParts[1] >= 5) {
1315
                        $result = '1.3.1';
1316
                    } else {
1317
                        $result = '1.3';
1318
                    }
1319
                }
1320
                break;
1321
            case 125:
1322
                if ($this->compareVersions('5.4', $verParts[1] . '.' . $verParts[2]) === 1) {
1323
                    $result = '1.2.4'; //125.5.5+