Merge branch 'MDL-55114-master' of git://github.com/andrewnicols/moodle
[moodle.git] / mod / chat / gui_header_js / jsupdated.php
index d22c4d4..c30de52 100644 (file)
@@ -99,14 +99,6 @@ $refreshurl = "{$CFG->wwwroot}/mod/chat/gui_header_js/jsupdated.php?".
         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
         <script type="text/javascript">
         //<![CDATA[
-        function safari_refresh() {
-            self.location.href= '<?php echo $refreshurl;?>';
-        }
-        var issafari = false;
-        if(window.devicePixelRatio){
-            issafari = true;
-            setTimeout('safari_refresh()', <?php echo $CFG->chat_refresh_room * 1000;?>);
-        }
         if (parent.msg.document.getElementById("msgStarted") == null) {
             parent.msg.document.close();
             parent.msg.document.open("text/html","replace");