mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-22001 fixed hidden bug triggerred by recent fixes in format_string() - credit goes to Myles Carrick , thanks! + fixing sloppy trailing whitespace :-(
This commit is contained in:
parent
cbc5d1328b
commit
8725605d7a
1 changed files with 6 additions and 4 deletions
|
@ -251,6 +251,7 @@ class webservice_documentation_generator {
|
|||
protected function display_documentation_html() {
|
||||
global $PAGE, $OUTPUT, $SITE, $CFG;
|
||||
|
||||
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
|
||||
$PAGE->set_url('/webservice/wsdoc');
|
||||
$PAGE->set_docs_path('');
|
||||
$PAGE->set_title($SITE->fullname." ".get_string('wsdocumentation', 'webservice'));
|
||||
|
@ -301,6 +302,7 @@ class webservice_documentation_generator {
|
|||
protected function display_login_page_html($errormessage) {
|
||||
global $PAGE, $OUTPUT, $SITE, $CFG;
|
||||
|
||||
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
|
||||
$PAGE->set_url('/webservice/wsdoc');
|
||||
$PAGE->set_docs_path('');
|
||||
$PAGE->set_title($SITE->fullname." ".get_string('wsdocumentation', 'webservice'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue