Skip to content
Snippets Groups Projects
Commit 6e0b71d7 authored by Matt Petro's avatar Matt Petro
Browse files

Merging minor fix from trunk

parents f693327c ec6058c2
No related branches found
No related merge requests found
......@@ -41,6 +41,11 @@ class block_uwcourseinfo extends block_html {
}
}
function applicable_formats() {
// Default case: the block can be used in all course types
return array('site' => false, 'my' => false, 'course-view' => true);
}
function get_content() {
global $COURSE, $PAGE, $OUTPUT, $USER;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment