mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Allow the Admin tree block to be displayed on the My Moodle page.
Reported in NZ workshop. MDL-11450
This commit is contained in:
parent
b64748eb54
commit
5dec234de7
@ -23,7 +23,7 @@ class block_admin_tree extends block_base {
|
||||
|
||||
function applicable_formats() {
|
||||
if (block_admin_tree::has_admin_caps()) {
|
||||
return array('site' => true, 'admin' => true);
|
||||
return array('site' => true, 'admin' => true, 'my' => true);
|
||||
} else {
|
||||
return array('site' => true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user