From ccb97f2eef50d4b69f210c658478ce56ec833438 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Mon, 4 Jul 2016 15:19:48 +0800 Subject: [PATCH] MDL-55114 chat: Remove commented-out variables --- mod/chat/gui_header_js/jsupdate.php | 8 -------- mod/chat/gui_header_js/jsupdated.php | 8 -------- 2 files changed, 16 deletions(-) diff --git a/mod/chat/gui_header_js/jsupdate.php b/mod/chat/gui_header_js/jsupdate.php index f33af4a83db..a7e38f3c3c6 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(); @@ -123,7 +116,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"; ?> @@ -113,7 +106,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\">
 
"); } //]]>