Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'fix-symbian' of git://github.com/darenc/moodle

  • Loading branch information...
commit c5530f415141dbf5b75facdd9da370f69be63375 2 parents f7edca8 + cb6b733
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.