Commit 639707d8 authored by Sara Arjona's avatar Sara Arjona
Browse files

Merge branch 'MDL-71611-master_blockaccessreviewupgrade' of https://github.com/brickfield/moodle

parents 95dcd99d 0ebe6764
......@@ -44,17 +44,12 @@ class block_accessreview extends block_base {
* @return array
*/
public function applicable_formats(): array {
// If Brickfield accessibility toolkit has been disabled, do nothing.
if (accessibility::is_accessibility_enabled()) {
return [
'course-view' => true,
'site' => true,
'mod' => false,
'my' => false,
];
} else {
return [];
}
return [
'course-view' => true,
'site' => true,
'mod' => false,
'my' => false,
];
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment