Allow quiz_results in quiz pages and allow multiple instances too

(this obviously is only useful in courses).
This commit is contained in:
defacer
2005-02-01 10:03:21 +00:00
parent 1ef61c260d
commit 639276728c
+5 -1
View File
@@ -11,6 +11,10 @@ class block_quiz_results extends block_base {
$this->version = 2005012600;
}
function applicable_formats() {
return array('all' => true);
}
function get_content() {
global $USER, $CFG;
@@ -333,7 +337,7 @@ class block_quiz_results extends block_base {
return $this->content;
}
function instance_allow_config() {
function instance_allow_multiple() {
return true;
}
}