Code Duplication    Length = 6-6 lines in 2 locations

mod/elgg_recaptcha/classes/BrowserDetection.php 2 locations

@@ 675-680 (lines=6) @@
672
                }
673
            }
674
        }
675
        if ($found) {
676
            $this->setBrowser(self::BROWSER_NETSCAPE);
677
            $this->setVersion($version);
678
            $this->setMobile(false);
679
            $this->setRobot(false);
680
        }
681
        return $found;
682
    }
683
    /**
@@ 836-841 (lines=6) @@
833
                $found = true;
834
            }
835
        }
836
        if ($found) {
837
            $this->setBrowser(self::BROWSER_SAFARI);
838
            $this->setVersion($version);
839
            $this->setMobile(false);
840
            $this->setRobot(false);
841
        }
842
        return $found;
843
    }
844
    /**