Skip to content

Commit

Permalink
Merge branch 'MDL-80512-401' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_401_STABLE
  • Loading branch information
HuongNV13 committed Feb 7, 2024
2 parents e5b9510 + 603c794 commit 44f8c11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/tool/task/schedule_task.php
Expand Up @@ -87,7 +87,8 @@

// Prepare to handle output via mtrace.
echo html_writer::start_tag('pre');
require('lib.php');

require_once("{$CFG->dirroot}/{$CFG->admin}/tool/task/lib.php");
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';

// Run the specified task (this will output an error if it doesn't exist).
Expand Down

0 comments on commit 44f8c11

Please sign in to comment.