projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7c66b1
)
Pull all blocks out of quiz pages. We can see about allowing them later.
author
defacer
<defacer>
Tue, 1 Feb 2005 10:02:12 +0000
(10:02 +0000)
committer
defacer
<defacer>
Tue, 1 Feb 2005 10:02:12 +0000
(10:02 +0000)
blocks/moodleblock.class.php
patch
|
blob
|
history
diff --git
a/blocks/moodleblock.class.php
b/blocks/moodleblock.class.php
index 205d68048d61f40801c7302bcf36bd099e5c72f9..f0dab688e3b8b6cfa585355bef57eb20fc870614 100644
(file)
--- 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
);
}