From 9990a740bf1aa69bfe6d1b7abe4bc67ebc2a3a8f Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Thu, 25 May 2023 09:05:49 +0100 Subject: [PATCH] MDL-78352 webservice: use default user context page heading. --- user/managetoken.php | 1 - webservice/wsdoc.php | 1 - 2 files changed, 2 deletions(-) diff --git a/user/managetoken.php b/user/managetoken.php index bc3e08f8852..933371cfbb3 100644 --- a/user/managetoken.php +++ b/user/managetoken.php @@ -32,7 +32,6 @@ $usercontext = context_user::instance($USER->id); $PAGE->set_context($usercontext); $PAGE->set_url('/user/managetoken.php'); $PAGE->set_title(get_string('securitykeys', 'webservice')); -$PAGE->set_heading(get_string('securitykeys', 'webservice')); $PAGE->set_pagelayout('admin'); $rsstokenboxhtml = $webservicetokenboxhtml = ''; diff --git a/webservice/wsdoc.php b/webservice/wsdoc.php index 19e3461fca5..a8760a3fc5f 100644 --- a/webservice/wsdoc.php +++ b/webservice/wsdoc.php @@ -35,7 +35,6 @@ $tokenid = required_param('id', PARAM_INT); $PAGE->set_context($usercontext); $PAGE->set_url('/user/wsdoc.php'); $PAGE->set_title(get_string('wsdocumentation', 'webservice')); -$PAGE->set_heading(get_string('wsdocumentation', 'webservice')); $PAGE->set_pagelayout('standard'); // nav bar