Skip to content

Commit

Permalink
Change 'Simbian' to 'Symbian'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daren Chandisingh committed Feb 18, 2011
1 parent 99faefb commit cb6b733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/moodlelib.php
Expand Up @@ -7454,14 +7454,14 @@ function check_browser_version($brand, $version = null) {
if (strpos($agent, 'AppleWebKit') === false) {
return false;
}
// Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SimbianOS and any other mobile devices
// Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SymbianOS and any other mobile devices
if (strpos($agent, 'OmniWeb')) { // Reject OmniWeb
return false;
}
if (strpos($agent, 'Shiira')) { // Reject Shiira
return false;
}
if (strpos($agent, 'SimbianOS')) { // Reject SimbianOS
if (strpos($agent, 'SymbianOS')) { // Reject SymbianOS
return false;
}
if (strpos($agent, 'Android')) { // Reject Androids too
Expand Down

0 comments on commit cb6b733

Please sign in to comment.