MDL-62418 tool_policy: Display blocks in Consent page when using clean

This commit is contained in:
Sara Arjona 2018-05-13 20:42:04 +02:00
parent ab65b87f3d
commit 15ed7d938e
2 changed files with 1 additions and 1 deletions

View File

@ -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'));

View File

@ -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);