MDL-70975 task: adhoctasks.php - queued ad hoc tasks report

Similar to scheduled tasks report

core\task\manager::adhoc_task_from_record() now raises moodle_exception
This commit is contained in:
Srdjan
2023-04-05 11:29:46 +10:00
parent 6d9aaa8412
commit 85323070e7
11 changed files with 755 additions and 38 deletions
-10
View File
@@ -28,16 +28,6 @@ define('NO_OUTPUT_BUFFERING', true);
require('../../../config.php');
/**
* Function used to handle mtrace by outputting the text to normal browser window.
*
* @param string $message Message to output
* @param string $eol End of line character
*/
function tool_task_mtrace_wrapper($message, $eol) {
echo s($message . $eol);
}
// Allow execution of single task. This requires login and has different rules.
$taskname = required_param('task', PARAM_RAW_TRIMMED);