MDL-43028 navigation: fixed section for profilepage
section for profile page is profilepage and not mypage
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user