mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
Merge branch 'MDL-49885_course_overview_block2' of https://github.com/andyjdavis/moodle
This commit is contained in:
commit
6362f68ebe
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue