mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
Merge branch 'MDL-80512' of https://github.com/paulholden/moodle
This commit is contained in:
commit
3d2d81a411
2 changed files with 3 additions and 2 deletions
|
@ -117,7 +117,7 @@ require_sesskey();
|
||||||
\core\session\manager::write_close();
|
\core\session\manager::write_close();
|
||||||
|
|
||||||
// Prepare to handle output via mtrace.
|
// Prepare to handle output via mtrace.
|
||||||
require('lib.php');
|
require_once("{$CFG->dirroot}/{$CFG->admin}/tool/task/lib.php");
|
||||||
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';
|
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';
|
||||||
|
|
||||||
// Run the specified tasks.
|
// Run the specified tasks.
|
||||||
|
|
|
@ -89,7 +89,8 @@ echo $OUTPUT->select_element_for_append();
|
||||||
|
|
||||||
// Prepare to handle output via mtrace.
|
// Prepare to handle output via mtrace.
|
||||||
echo html_writer::start_tag('pre', ['style' => 'color: #fff; background: #333; padding: 1em; min-height: 24lh']);
|
echo html_writer::start_tag('pre', ['style' => 'color: #fff; background: #333; padding: 1em; min-height: 24lh']);
|
||||||
require('lib.php');
|
|
||||||
|
require_once("{$CFG->dirroot}/{$CFG->admin}/tool/task/lib.php");
|
||||||
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';
|
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';
|
||||||
|
|
||||||
// Run the specified task (this will output an error if it doesn't exist).
|
// Run the specified task (this will output an error if it doesn't exist).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue