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 committed Jul 29, 2011
1 parent ca3e8e9 commit 04c99f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion mod/scorm/lang/en/scorm.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,3 @@
$string['whatgradedesc'] = 'This preference sets the default attempts grading';
$string['width'] = 'Width';
$string['window'] = 'Window';
$string['zlibwarning'] = 'Warning: PHP Zlib compression has been enabled on this site, some users may experience issues loading SCORM objects in certain web browsers.';
4 changes: 0 additions & 4 deletions mod/scorm/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ function definition() {
if (!$CFG->slasharguments) {
$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'));

Expand Down

0 comments on commit 04c99f8

Please sign in to comment.