MDL-74602 mod_book: disable activity header on book print page

This commit is contained in:
Jake Dallimore
2022-05-03 09:56:56 +08:00
parent 0402dfdc95
commit edf2c5ea2f
+2 -1
View File
@@ -54,6 +54,7 @@ if ($chapterid) {
$PAGE->set_url('/mod/book/print.php', array('id' => $id, 'chapterid' => $chapterid));
$PAGE->activityheader->disable();
$PAGE->set_pagelayout("embedded");
unset($id);
@@ -93,4 +94,4 @@ if ($chapter) {
echo $renderer->render($page);
// Finish page output.
echo $OUTPUT->footer();
echo $OUTPUT->footer();