From: nicolasconnault Date: Thu, 6 Aug 2009 08:23:57 +0000 (+0000) Subject: MDL-19805 Migrated calls to print_heading X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5ddd4e0678902a73b415c48f1b035e12a7740672;p=moodle.git MDL-19805 Migrated calls to print_heading --- diff --git a/mod/choice/lib.php b/mod/choice/lib.php index b0f9eeefcd..0b633c407b 100644 --- a/mod/choice/lib.php +++ b/mod/choice/lib.php @@ -413,13 +413,13 @@ function choice_show_reportlink($user, $cm) { function choice_show_results($choice, $course, $cm, $allresponses, $forcepublish='') { global $CFG, $CHOICE_COLUMN_HEIGHT, $FULLSCRIPT, $PAGE, $OUTPUT, $DB; - print_heading(get_string("responses", "choice")); + echo $OUTPUT->heading(get_string("responses", "choice")); if (empty($forcepublish)) { //alow the publish setting to be overridden $forcepublish = $choice->publish; } if (empty($allresponses)) { - print_heading(get_string("nousersyet")); + echo $OUTPUT->heading(get_string("nousersyet")); return false; }