diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index 0d5ff638de0..9211a31bbd8 100644 --- a/mod/chat/gui_header_js/jsupdate.php +++ b/mod/chat/gui_header_js/jsupdate.php @@ -98,13 +98,6 @@ header('Pragma: no-cache'); header('Content-Type: text/html; charset=utf-8'); header("Refresh: $CFG->chat_refresh_room; url=$refreshurl"); -// Required stylesheets. -$stylesheetshtml = ''; -/*foreach ($CFG->stylesheets as $stylesheet) { - //TODO: MDL-21120 - $stylesheetshtml .= ''; -}*/ - // Use ob to be able to send Content-Length headers. // Needed for Keep-Alive to work. ob_start(); @@ -131,7 +124,6 @@ ob_start(); parent.msg.document.write(""); parent.msg.document.write(""); parent.msg.document.write(""); - parent.msg.document.write(""); parent.msg.document.write("<\/head>course ?>\" id=\"mod-chat-gui_header_js-jsupdate\">
 <\/div>"); } stylesheets as $stylesheet) { - //TODO: MDL-21120 - $stylesheetshtml .= ''; -}*/ - $refreshurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdated.php?". "chat_sid=$chatsid&chat_lasttime=$chatlasttime&chat_lastrow=$chatnewrow&chat_lastid=$chatlastid"; ?> @@ -121,7 +114,6 @@ $refreshurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdated.php?". parent.msg.document.write(""); parent.msg.document.write(""); parent.msg.document.write(""); - parent.msg.document.write(""); parent.msg.document.write("course ?>\" id=\"mod-chat-gui_header_js-jsupdate\">
 
"); } //]]>