From 8af46c3b154636e9c4bcfddcb98bdfd09ca9d9e6 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:37:16 +0000 Subject: [PATCH] MDL-19803 Upgraded calls to print_headline --- mod/assignment/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 85592259ef..efdd59c68c 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -2550,7 +2550,7 @@ function assignment_refresh_events($courseid = 0) { * This is used by the recent activity block */ function assignment_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 @@ -2627,7 +2627,7 @@ function assignment_print_recent_activity($course, $viewfullnames, $timestart) { return false; } - print_headline(get_string('newsubmissions', 'assignment').':'); + echo $OUTPUT->heading(get_string('newsubmissions', 'assignment').':'); foreach ($show as $submission) { $cm = $modinfo->cms[$submission->cmid]; -- 2.39.5