diff --git a/admin/cron.php b/admin/cron.php index cce8ae32ef0..e4115458c76 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -72,24 +72,10 @@ if (!empty($CFG->cronremotepassword)) { } // send mime type and encoding -if (check_browser_version('MSIE')) { - //ugly IE hack to work around downloading instead of viewing - @header('Content-Type: text/html; charset=utf-8'); - echo "
is not good enough for us here
-} else {
- //send proper plaintext header
- @header('Content-Type: text/plain; charset=utf-8');
-}
+@header('Content-Type: text/plain; charset=utf-8');
// we do not want html markup in emulated CLI
@ini_set('html_errors', 'off');
// execute the cron
cron_run();
-
-// finish the IE hack
-if (check_browser_version('MSIE')) {
- echo "