mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Merge branch 'MDL-47391_master' of github.com:ninelanterns/moodle
This commit is contained in:
commit
8aff36d0c8
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user