From 3097018f7aedd99fd7897f45252671d1553cc82c Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:36:17 +0000 Subject: [PATCH] MDL-19809 Upgraded calls to print_headline --- mod/glossary/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index b324216548..fe76348ab4 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -296,7 +296,7 @@ function glossary_user_complete($course, $user, $mod, $glossary) { * @return bool */ function glossary_print_recent_activity($course, $viewfullnames, $timestart) { - global $CFG, $USER, $DB; + global $CFG, $USER, $DB, $OUTPUT; //TODO: use timestamp in approved field instead of changing timemodified when approving in 2.0 @@ -346,7 +346,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) { if (!$entries) { return false; } - print_headline(get_string('newentries', 'glossary').':'); + echo $OUTPUT->heading(get_string('newentries', 'glossary').':'); $strftimerecent = get_string('strftimerecent'); foreach ($entries as $entry) { -- 2.39.5