mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 01:43:32 +02:00
MDL-62418 tool_policy: Display blocks in Consent page when using clean
This commit is contained in:
parent
ab65b87f3d
commit
15ed7d938e
@ -295,7 +295,6 @@ class page_agreedocs implements renderable, templatable {
|
||||
|
||||
// Page setup.
|
||||
$PAGE->set_context(context_system::instance());
|
||||
$PAGE->set_pagelayout('standard');
|
||||
$PAGE->set_url($myurl);
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
$PAGE->set_title(get_string('policiesagreements', 'tool_policy'));
|
||||
|
@ -41,6 +41,7 @@ $agreedocs = optional_param_array('agreedoc', null, PARAM_INT);
|
||||
$behalfid = optional_param('userid', null, PARAM_INT);
|
||||
|
||||
$PAGE->set_context(context_system::instance());
|
||||
$PAGE->set_pagelayout('standard');
|
||||
$PAGE->set_url('/admin/tool/policy/index.php');
|
||||
$PAGE->set_popup_notification_allowed(false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user