Skip to content

Commit

Permalink
Merge pull request joomla#950 from eddieajau/cleaning
Browse files Browse the repository at this point in the history
Fix checkstyle errors.
  • Loading branch information
LouisLandry committed Mar 2, 2012
2 parents 409e73e + 909d760 commit c4c7a8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/joomla/environment/browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ public function match($userAgent = null, $accept = null)
$this->setBrowser('chrome');
list ($this->_majorVersion, $this->_minorVersion) = explode('.', $version[1]);
}
elseif (preg_match('|CrMo[/ ]([0-9.]+)|', $this->_agent, $version))
{
$this->setBrowser('chrome');
list ($this->_majorVersion, $this->_minorVersion) = explode('.', $version[1]);
}
elseif (preg_match('|CrMo[/ ]([0-9.]+)|', $this->_agent, $version))
{
$this->setBrowser('chrome');
list ($this->_majorVersion, $this->_minorVersion) = explode('.', $version[1]);
}
elseif (strpos($this->_lowerAgent, 'elaine/') !== false
|| strpos($this->_lowerAgent, 'palmsource') !== false
|| strpos($this->_lowerAgent, 'digital paths') !== false)
Expand Down

0 comments on commit c4c7a8f

Please sign in to comment.