Merge branch 'MDL-57259-master' of git://github.com/ryanwyllie/moodle
This commit is contained in:
Vendored
+2
@@ -404,6 +404,8 @@ class core_external extends external_api {
|
||||
self::validate_context($context);
|
||||
$arguments['context'] = $context;
|
||||
|
||||
// Hack alert: Set a default URL to stop the annoying debug.
|
||||
$PAGE->set_url('/');
|
||||
// Hack alert: Forcing bootstrap_renderer to initiate moodle page.
|
||||
$OUTPUT->header();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user