Merge branch 'MDL-47391_master' of github.com:ninelanterns/moodle

This commit is contained in:
Sam Hemelryk 2014-11-12 12:33:25 +13:00
commit 8aff36d0c8

View File

@ -38,7 +38,7 @@ require_login();
$header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")";
$PAGE->set_blocks_editing_capability('moodle/my:configsyspages');
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mydashboard'));
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mypublic'));
// Override pagetype to show blocks properly.
$PAGE->set_pagetype('user-profile');