mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-37680 repositories: added blocks to manage page
This commit is contained in:
parent
2d84748c26
commit
60f35a82e1
@ -69,6 +69,7 @@ $context = context::instance_by_id($contextid);
|
||||
|
||||
$PAGE->set_url($url);
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_pagelayout('standard');
|
||||
|
||||
/// Security: make sure we're allowed to do this operation
|
||||
if ($context->contextlevel == CONTEXT_COURSE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user