Pull all blocks out of quiz pages. We can see about allowing them later.

This commit is contained in:
defacer
2005-02-01 10:02:12 +00:00
parent e7c66b1584
commit 1ef61c260d
+2 -2
View File
@@ -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);
}