From 1ef61c260dd0d301ee7bc0210efe2db82be9dc6f Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 1 Feb 2005 10:02:12 +0000 Subject: [PATCH] Pull all blocks out of quiz pages. We can see about allowing them later. --- blocks/moodleblock.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index 205d68048d..f0dab688e3 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -418,8 +418,8 @@ class block_base { * @todo finish documenting this function */ function applicable_formats() { - // Default case: the block can be used in all course types - return array('all' => true); + // Default case: the block can be used in all course types and not in quizzes + return array('all' => true, 'quiz' => false); } -- 2.39.5