mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-57385 core: Set page layouts of non-mydashboard pages to standard
The following pages are using the "mydashboard" page layout: * User preferences > Badges > Manage badges * User preferences > Badges > Backpack settings * User preferences > Repositories > Manage instances * Private files However, the "mydashboard" page layout should only be used for the user's dashboard page. Changing these to use the "standard" page layout.
This commit is contained in:
parent
8ed0851a5e
commit
ab1ca45eb0
4 changed files with 3 additions and 4 deletions
|
@ -91,7 +91,6 @@ if ($context->contextlevel == CONTEXT_COURSE) {
|
|||
print_error('notyourinstances', 'repository');
|
||||
}
|
||||
$user = $USER;
|
||||
$PAGE->set_pagelayout('mydashboard');
|
||||
} else {
|
||||
print_error('invalidcontext');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue