From cb860491717ba98792a49fa661fff034b108899a Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:36:33 +0000 Subject: [PATCH] MDL-19808 Upgraded calls to print_headline --- mod/forum/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index e9aa0c9d1e..4160c465cc 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -1301,7 +1301,7 @@ function forum_print_overview($courses,&$htmlarray) { * @return bool success */ function forum_print_recent_activity($course, $viewfullnames, $timestart) { - global $CFG, $USER, $DB; + global $CFG, $USER, $DB, $OUTPUT; // do not use log table if possible, it may be huge and is expensive to join with other tables @@ -1377,7 +1377,7 @@ function forum_print_recent_activity($course, $viewfullnames, $timestart) { return false; } - print_headline(get_string('newforumposts', 'forum').':', 3); + echo $OUTPUT->heading(get_string('newforumposts', 'forum').':', 3); echo "\n