Skip to content

Commit

Permalink
MDL-28535 SCORM remove old IE 6 related warning about zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden authored and skodak committed Aug 2, 2011
1 parent 0f68bcb commit 1389810
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mod/scorm/mod_form.php
Expand Up @@ -17,10 +17,6 @@ function definition() {
if (!$CFG->slasharguments) { if (!$CFG->slasharguments) {
$mform->addElement('static', '', '',$OUTPUT->notification(get_string('slashargs', 'scorm'), 'notifyproblem')); $mform->addElement('static', '', '',$OUTPUT->notification(get_string('slashargs', 'scorm'), 'notifyproblem'));
} }
$zlib = ini_get('zlib.output_compression'); //check for zlib compression - if used, throw error because of IE bug. - SEE MDL-16185
if (isset($zlib) && $zlib) {
$mform->addElement('static', '', '',$OUTPUT->notification(get_string('zlibwarning', 'scorm'), 'notifyproblem'));
}
//------------------------------------------------------------------------------- //-------------------------------------------------------------------------------
$mform->addElement('header', 'general', get_string('general', 'form')); $mform->addElement('header', 'general', get_string('general', 'form'));


Expand Down

0 comments on commit 1389810

Please sign in to comment.