Allow the Admin tree block to be displayed on the My Moodle page.

Reported in NZ workshop.     MDL-11450
This commit is contained in:
moodler 2007-09-26 02:33:43 +00:00
parent b64748eb54
commit 5dec234de7

View File

@ -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);
}