mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'wip-mdl-43028' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
50de5b4c06
@ -40,7 +40,7 @@ require_login();
|
||||
$header = "$SITE->shortname: ".get_string('publicprofile')." (".get_string('myprofile', 'admin').")";
|
||||
|
||||
$PAGE->set_blocks_editing_capability('moodle/my:configsyspages');
|
||||
admin_externalpage_setup('mypage', '', null, '', array('pagelayout' => 'mydashboard'));
|
||||
admin_externalpage_setup('profilepage', '', null, '', array('pagelayout' => 'mydashboard'));
|
||||
|
||||
// Override pagetype to show blocks properly.
|
||||
$PAGE->set_pagetype('user-profile');
|
||||
|
Loading…
x
Reference in New Issue
Block a user