Merge branch 'MDL-49885_course_overview_block2' of https://github.com/andyjdavis/moodle

This commit is contained in:
Dan Poltawski 2015-06-09 13:57:10 +01:00
commit 6362f68ebe

View file

@ -112,7 +112,7 @@ class block_course_overview extends block_base {
* @return array * @return array
*/ */
public function applicable_formats() { public function applicable_formats() {
return array('my-index' => true); return array('my' => true);
} }
/** /**
@ -125,4 +125,4 @@ class block_course_overview extends block_base {
$config = get_config('block_course_overview'); $config = get_config('block_course_overview');
return !empty($config->showwelcomearea); return !empty($config->showwelcomearea);
} }
} }