]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8029 obsoleted ob_end_clean() emulation removed from chat
authorskodak <skodak>
Sat, 30 Dec 2006 21:10:23 +0000 (21:10 +0000)
committerskodak <skodak>
Sat, 30 Dec 2006 21:10:23 +0000 (21:10 +0000)
mod/chat/lib.php

index c6188ab4b3081fe14de2609c06d417d486bc419f..62e172ce52e93fd03fb6843a5fe9c099029dc689 100644 (file)
@@ -644,19 +644,6 @@ function chat_format_message($message, $courseid, $currentuser, $chat_lastrow=NU
     return chat_format_message_manually($message, $courseid, $user, $currentuser, $chat_lastrow);
 }
 
-if (!function_exists('ob_get_clean')) {
-/// Compatibility function for PHP < 4.3.0
-    function ob_get_clean() {
-        $cont = ob_get_contents();
-        if ($cont !== false) {
-            ob_end_clean();
-            return $cont;
-        } else {
-            return $cont;
-        }
-    }
-}
-
 function chat_get_view_actions() {
     return array('view','view all','report');
 }