MDL-67211 Tasks: Add cron_enabled setting.

Co-authored-by: Sam Marshall <[email protected]>
This commit is contained in:
Mikhail Golenkov
2020-08-25 17:01:00 +10:00
co-authored by Sam Marshall
parent 3263daba84
commit e419e18f0d
12 changed files with 193 additions and 9 deletions
+5
View File
@@ -39,6 +39,11 @@ admin_externalpage_setup('runningtasks');
echo $OUTPUT->header();
if (!get_config('core', 'cron_enabled')) {
$renderer = $PAGE->get_renderer('tool_task');
echo $renderer->cron_disabled();
}
$table = new \tool_task\running_tasks_table();
$table->baseurl = $pageurl;
$table->out(100, false);