Code Duplication    Length = 7-7 lines in 2 locations

includes/browser.php 2 locations

@@ 728-734 (lines=7) @@
725
                    $this->setVersion($aversion[0]);
726
                    $this->setBrowser(self::BROWSER_CHROME);
727
                    //Chrome on Android
728
                    if (stripos($this->_agent, 'Android') !== false) {
729
                        if (stripos($this->_agent, 'Mobile') !== false) {
730
                            $this->setMobile(true);
731
                        } else {
732
                            $this->setTablet(true);
733
                        }
734
                    }
735
                    return true;
736
                }
737
            }
@@ 958-964 (lines=7) @@
955
                    $this->setVersion($matches[1]);
956
                    $this->setBrowser(self::BROWSER_FIREFOX);
957
                    //Firefox on Android
958
                    if (stripos($this->_agent, 'Android') !== false) {
959
                        if (stripos($this->_agent, 'Mobile') !== false) {
960
                            $this->setMobile(true);
961
                        } else {
962
                            $this->setTablet(true);
963
                        }
964
                    }
965
                    return true;
966
                } else if (preg_match("/Firefox$/i", $this->_agent, $matches)) {
967
                    $this->setVersion("");