From: tjhunt <tjhunt> Date: Mon, 13 Jul 2009 06:16:48 +0000 (+0000) Subject: themes: MDL-19077 Don't us $OUTPUT in debugging. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dc203659af1c4a8c335dc6327547917f8606b76e;p=moodle.git themes: MDL-19077 Don't us $OUTPUT in debugging. --- diff --git a/lib/weblib.php b/lib/weblib.php index c61c4fe92c..9f22472932 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5442,7 +5442,7 @@ function debugging($message = '', $level = DEBUG_NORMAL, $backtrace = null) { if (!defined('DEBUGGING_PRINTED')) { define('DEBUGGING_PRINTED', 1); // indicates we have printed something } - notify($message . $from, 'notifytiny'); + echo '<div class="notifytiny">' . $message . $from . '</div>'; } else { trigger_error($message . $from, E_USER_NOTICE); }