Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26502 check browser - fix for Symbian (backported)

  • Loading branch information...
commit f733078c91251a08d4ae68e9de4f8ede4390c315 1 parent 783cca4
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -6431,12 +6431,12 @@ function check_browser_version($brand='MSIE', $version=5.5) {
break;
case 'Safari': /// Safari
- // Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SimbianOS
+ // Look for AppleWebKit, excluding strings with OmniWeb, Shiira and SymbianOS
if (strpos($agent, 'OmniWeb')) { // Reject OmniWeb
return false;
} elseif (strpos($agent, 'Shiira')) { // Reject Shiira
return false;
- } elseif (strpos($agent, 'SimbianOS')) { // Reject SimbianOS
+ } elseif (strpos($agent, 'SymbianOS')) { // Reject SymbianOS
return false;
}
if (strpos($agent, 'iPhone') or strpos($agent, 'iPad') or strpos($agent, 'iPod')) {
Please sign in to comment.
Something went wrong with that request. Please try again.