From 434cab3c7946e8675a248c388bca10980be9fec7 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 26 Sep 2013 14:17:14 +1200 Subject: [PATCH] MDL-41577 SCORM: remove old IE9 hack that didn't really work. --- mod/scorm/player.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mod/scorm/player.php b/mod/scorm/player.php index d5e4b34b756..ca49398c8c1 100644 --- a/mod/scorm/player.php +++ b/mod/scorm/player.php @@ -28,18 +28,6 @@ $currentorg = optional_param('currentorg', '', PARAM_RAW); // selected organizat $newattempt = optional_param('newattempt', 'off', PARAM_ALPHA); // the user request to start a new attempt. $displaymode = optional_param('display', '', PARAM_ALPHA); -// IE 9 workaround for Flash bug: MDL-29213 -// Note that it's not clear if appending the meta tag via $CFG->additionalhtmlhead -// is correct at all, both because of the mechanism itself and because MS says -// the tag must be used *before* including other stuff. See the issue for more info. -// TODO: Once we implement some way to inject meta tags, change this to use it. MDL-30039 -if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9') !== false) { - if (!isset($CFG->additionalhtmlhead)) { //check to make sure set first - that way we can use .= - $CFG->additionalhtmlhead = ''; - } - $CFG->additionalhtmlhead .= ''; -} - if (!empty($id)) { if (! $cm = get_coursemodule_from_id('scorm', $id)) { print_error('invalidcoursemodule');