Commit 8f4ff301 authored by Sara Arjona's avatar Sara Arjona

Merge branch 'MDL-68010-cron-run-disabled' of https://github.com/brendanheywood/moodle

parents 06a338f0 75d5debe
...@@ -115,7 +115,7 @@ class tool_task_renderer extends plugin_renderer_base { ...@@ -115,7 +115,7 @@ class tool_task_renderer extends plugin_renderer_base {
$disabled = $plugindisabled || $task->get_disabled(); $disabled = $plugindisabled || $task->get_disabled();
$runnow = ''; $runnow = '';
if (!$disabled && get_config('tool_task', 'enablerunnow') && $canruntasks ) { if (!$plugindisabled && get_config('tool_task', 'enablerunnow') && $canruntasks ) {
$runnow = html_writer::div(html_writer::link( $runnow = html_writer::div(html_writer::link(
new moodle_url('/admin/tool/task/schedule_task.php', new moodle_url('/admin/tool/task/schedule_task.php',
['task' => $classname]), ['task' => $classname]),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment